UnrealModFramework
Mod framework API
Loading...
Searching...
No Matches
UModBehavior Class Reference

A Mod-owned behavior instance attached to its authorized World. More...

#include <ModBehavior.h>

Inheritance diagram for UModBehavior:

Public Member Functions

MODLOADER_API void UnbindEvent (const FModExtensionToken &Token)
 Unsubscribes a delegate installed on this behavior.
MODLOADER_API UWorld * GetWorld () const override
 Returns the World that owns the behavior instance.

Protected Member Functions

MODLOADER_API bool ResolveBehaviorTarget (FName TypeId, const TCHAR *Signature, uint64 &Context, uint64 &Object)
 Resolves the checked call target of an exported API.
MODLOADER_API UModBehavior * WrapBehaviorResult (UClass *Class, uint64 Context, uint64 Object)
 Wraps an object result with the lifetime of the current call target.
MODLOADER_API int32 BindBehaviorEvent (FName Id, const TCHAR *Signature, FName SourceType, const FModBehaviorEvent &Delegate, FModExtensionToken &Token)
 Binds a delegate to a published Event on this behavior.
MODLOADER_API UObject * GetBehaviorOwner () const
 Returns the host-created Mod owner for this behavior.
virtual void RegisterBehavior ()
 Registers generated Hook and Event overrides during World preparation.

Static Protected Member Functions

static MODLOADER_API bool ResolveBehaviorArgument (UObject &Owner, UModBehavior &Argument, FName TypeId, const TCHAR *Signature, uint64 &Context, uint64 &Object)
 Resolves an object argument within the calling Mod and World.
static MODLOADER_API UModBehavior * MakeBoundBehavior (UClass *Class, UObject &Owner, uint64 Context, uint64 Object, bool bBorrowed)
 Creates a typed reference from a host-issued binding.
static MODLOADER_API UModBehavior * FindBoundBehavior (UClass *Class, UObject *Owner, FName Alias, FName TypeId, bool bPlayerProvider)
 Finds a typed reference using an alias authorized by the game.

Friends

class UModExtensionSubsystem

Detailed Description

A Mod-owned behavior instance attached to its authorized World.


The documentation for this class was generated from the following file: