UnrealModFramework
Mod framework API
Toggle main menu visibility
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"
7
UCLASS(Blueprintable)
8
class COMMON_API
UModTestPackageInstance
: public
UModInstance
9
{
10
GENERATED_BODY()
11
public
:
13
void
InvokeBoundServices
();
14
15
private
:
16
uint64 ServiceContext = 0;
17
uint64 ServiceObject = 0;
18
19
protected
:
20
virtual
void
OnModRegister
()
override
;
21
virtual
void
OnModBind
()
override
;
22
virtual
void
OnModBeforeUnload
()
override
;
23
};
ModInstance.h
UModInstance
A game-thread Mod entry point owned by one game instance.
Definition
ModInstance.h:52
UModTestPackageInstance
Base mod instance for the cooked provider and consumer Blueprints.
Definition
ModTestPackageInstance.h:9
UModTestPackageInstance::OnModBeforeUnload
virtual void OnModBeforeUnload() override
Releases game state and references before this Mod is unloaded.
UModTestPackageInstance::OnModBind
virtual void OnModBind() override
Binds compiled C++ consumers after all providers are registered.
UModTestPackageInstance::InvokeBoundServices
void InvokeBoundServices()
Records successful service and world API calls made by the consumer.
UModTestPackageInstance::OnModRegister
virtual void OnModRegister() override
Registers compiled C++ extensions before the World is ready.
TestSuite
Source
Common
Public
ModTestPackageInstance.h
Generated by
1.18.0