Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
PutScriptVal implementation details. More...
#include <BinarySerializer.h>
Public Member Functions | |
CBinarySerializerScriptImpl (const ScriptInterface &scriptInterface, ISerializer &serializer) | |
~CBinarySerializerScriptImpl () | |
void | ScriptString (const char *name, JS::HandleString string) |
void | HandleScriptVal (JS::HandleValue val) |
Private Types | |
using | ObjectTagMap = JS::GCHashMap< JS::Heap< JSObject * >, u32, js::MovableCellHasher< JSObject * >, js::SystemAllocPolicy > |
Private Member Functions | |
u32 | GetScriptBackrefTag (JS::HandleObject obj) |
Static Private Member Functions | |
static void | Trace (JSTracer *trc, void *data) |
Private Attributes | |
const ScriptInterface & | m_ScriptInterface |
ISerializer & | m_Serializer |
ObjectTagMap | m_ScriptBackrefTags |
u32 | m_ScriptBackrefsNext |
PutScriptVal implementation details.
(Split out from the main class because it's too big to be inlined.)
|
private |
CBinarySerializerScriptImpl::CBinarySerializerScriptImpl | ( | const ScriptInterface & | scriptInterface, |
ISerializer & | serializer | ||
) |
CBinarySerializerScriptImpl::~CBinarySerializerScriptImpl | ( | ) |
|
private |
void CBinarySerializerScriptImpl::HandleScriptVal | ( | JS::HandleValue | val | ) |
void CBinarySerializerScriptImpl::ScriptString | ( | const char * | name, |
JS::HandleString | string | ||
) |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |