class

FActorSerializationHooks

Per-instance structure a module keeps on the actor's MDF node beside the variable values: the script components a designer added in Details. Writers run after the actor's own properties; readers run on load before any host's overrides apply, so the component a value belongs to exists by then.

Module
Game
Header
#include "Game/ScriptVariableHost.h"
Namespace
Mowo

Type aliases

AliasDescription
using FWriter = void (*)(AActor* actor, MDF::MdfNode& actorNode)
using FReader = void (*)(AActor* actor, const MDF::MdfNode& actorNode)

Public functions

ReturnsNameDescription
voidAdd
voidRemove
voidRunWriters
voidRunReaders

Function details

Add

C++
static void Add(FWriter writer, FReader reader)

Remove

C++
static void Remove(FWriter writer, FReader reader)

RunWriters

C++
static void RunWriters(AActor* actor, MDF::MdfNode& actorNode)

RunReaders

C++
static void RunReaders(AActor* actor, const MDF::MdfNode& actorNode)
Generated from Game/ScriptVariableHost.h via game.json · Nov 5, 2026Version 1.0.0