载入中...
搜索中...
未找到
RpgStateProvider.cpp 文件参考
#include "rpg/RpgState.h"
#include "common/Capability.h"
#include "common/IStateProvider.h"
#include "rpg/RPGActor.h"
#include "rpg/SkillSystem.h"
#include "rpg/SkillTypes.h"
#include <algorithm>
#include <string>
#include <utility>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::rpg
 RPG 模块的基础实体:把属性 / 状态 / 技能三张表挂到一个 ECS 实体上。
 

函数

EVENGINE_API_PLATFORM bool eve::rpg::captureRpgState (StateValue &out)
 Compatibility facade for RPGActor skill-state serialization during state hot reload.
 
EVENGINE_API_PLATFORM bool eve::rpg::restoreRpgState (const StateValue &in, std::string *err=nullptr)
 Restore rpg state.
 
EVENGINE_API_PLATFORM bool eve::rpg::resetRpgState ()
 Resets rpg state.