载入中...
搜索中...
未找到
IStateProvider.h
浏览该文件的文档.
#define EVENGINE_API_FOUNDATION_INLINE
仅供"只有内联成员"的类型使用的组宏:拥有者 dllexport,消费方不导入。
Definition Export.h:170
Runtime-state serialization for state hot reload.
Definition IStateProvider.h:28
virtual bool resetToDefaults()=0
Reset this provider to its default state (restore fallback).
virtual StateReloadPolicy reloadPolicy() const
Whether live state is preserved or reset across code reload.
Definition IStateProvider.h:51
virtual bool captureState(StateValue &out)=0
Serialize current runtime state into out.
virtual const char * stateKind() const =0
Stable kind label, e.g. "dialogue" / "anim" / "rpg.casting".
virtual bool restoreState(const StateValue &in, std::string *err=nullptr)=0
Restore captured state onto the (possibly new) definitions.
Definition AssetReloader.h:29
@ Preserve