UnrealModFramework
Mod framework API
Loading...
Searching...
No Matches
ModTestPackageInstance.h
Go to the documentation of this file.
1// Copyright (c) 2026 Nelaric Contributors
3#pragma once
4#include "ModInstance.h"
5#include "ModTestPackageInstance.generated.h"
7UCLASS(Blueprintable)
8class COMMON_API UModTestPackageInstance : public UModInstance
9{
10 GENERATED_BODY()
11public:
14
15private:
16 uint64 ServiceContext = 0;
17 uint64 ServiceObject = 0;
18
19protected:
20 virtual void OnModRegister() override;
21 virtual void OnModBind() override;
22 virtual void OnModBeforeUnload() override;
23};
A game-thread Mod entry point owned by one game instance.
Definition ModInstance.h:52
Base mod instance for the cooked provider and consumer Blueprints.
Definition ModTestPackageInstance.h:9
virtual void OnModBeforeUnload() override
Releases game state and references before this Mod is unloaded.
virtual void OnModBind() override
Binds compiled C++ consumers after all providers are registered.
void InvokeBoundServices()
Records successful service and world API calls made by the consumer.
virtual void OnModRegister() override
Registers compiled C++ extensions before the World is ready.