MCPcopy Create free account
hub / github.com/OpenMW/openmw / serialize

Method serialize

components/lua/serialization.cpp:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 }
106
107 bool BasicSerializer::serialize(BinaryData& out, const sol::userdata& data) const
108 {
109 appendRefNum(out, cast<ESM::RefNum>(data));
110 return true;
111 }
112
113 bool BasicSerializer::deserialize(std::string_view typeName, std::string_view binaryData, lua_State* lua) const
114 {

Callers 1

serializeUserdataFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected