载入中...
搜索中...
未找到
CardState.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4
5#include "common/StateValue.h"
6
7#include <string>
8
9namespace eve::card {
10
19EVENGINE_API_WORLD bool captureCardState(StateValue& out);
21EVENGINE_API_WORLD bool restoreCardState(const StateValue& in, std::string* err = nullptr);
24
25} // namespace eve::card
#define EVENGINE_API_WORLD
Definition Export.h:109
EVENGINE_API_WORLD bool captureCardState(StateValue &out)
Compatibility facade for CardData/Hand interaction-state serialization during state hot reload.
EVENGINE_API_WORLD bool restoreCardState(const StateValue &in, std::string *err=nullptr)
Restore card state.
EVENGINE_API_WORLD bool resetCardState()
Resets card state.