EvEmu
0.8.4
11 September 2021
|
#include "CachedObjectMgr.h"
Public Member Functions | |
PyCachedObjectDecoder () | |
~PyCachedObjectDecoder () | |
void | Dump (FILE *into, const char *pfx, bool contents_too=false) |
bool | Decode (PySubStream **ss) |
PyObject * | EncodeHint () |
Public Attributes | |
int64 | timestamp |
int32 | version |
uint32 | nodeID |
bool | shared |
PySubStream * | cache |
bool | compressed |
PyRep * | objectID |
Definition at line 151 of file CachedObjectMgr.h.
PyCachedObjectDecoder::PyCachedObjectDecoder | ( | ) |
Definition at line 574 of file CachedObjectMgr.cpp.
PyCachedObjectDecoder::~PyCachedObjectDecoder | ( | ) |
bool PyCachedObjectDecoder::Decode | ( | PySubStream ** | ss | ) |
Definition at line 657 of file CachedObjectMgr.cpp.
References args, PyObject::arguments(), cache, compressed, PySubStream::decoded(), PySubStream::DecodeData(), if(), PyRep::IsObject(), PyRep::IsTuple(), PyTuple::items, nodeID, objectID, PyDecRef, PySafeDecRef, shared, sLog, timestamp, PyRep::TypeString(), PyInt::value(), and version.
Referenced by CachedObjectMgr::LoadCachedObject(), and CachedObjectMgr::UpdateCacheFromSS().
void PyCachedObjectDecoder::Dump | ( | FILE * | into, |
const char * | pfx, | ||
bool | contents_too = false |
||
) |
Definition at line 621 of file CachedObjectMgr.cpp.
References cache, compressed, PyRep::Dump(), nodeID, objectID, PRIu64, shared, timestamp, and version.
PyObject * PyCachedObjectDecoder::EncodeHint | ( | ) |
Definition at line 815 of file CachedObjectMgr.cpp.
References PyRep::Clone(), PyTuple::items, nodeID, objectID, timestamp, and version.
PySubStream* PyCachedObjectDecoder::cache |
Definition at line 169 of file CachedObjectMgr.h.
Referenced by Decode(), Dump(), ObjectToSQL(), CachedObjectMgr::UpdateCacheFromSS(), and ~PyCachedObjectDecoder().
bool PyCachedObjectDecoder::compressed |
Definition at line 171 of file CachedObjectMgr.h.
uint32 PyCachedObjectDecoder::nodeID |
Definition at line 166 of file CachedObjectMgr.h.
Referenced by Decode(), Dump(), and EncodeHint().
PyRep* PyCachedObjectDecoder::objectID |
Definition at line 172 of file CachedObjectMgr.h.
Referenced by Decode(), Dump(), EncodeHint(), and ~PyCachedObjectDecoder().
bool PyCachedObjectDecoder::shared |
Definition at line 167 of file CachedObjectMgr.h.
int64 PyCachedObjectDecoder::timestamp |
Definition at line 162 of file CachedObjectMgr.h.
Referenced by Decode(), Dump(), and EncodeHint().
int32 PyCachedObjectDecoder::version |
Definition at line 163 of file CachedObjectMgr.h.
Referenced by Decode(), Dump(), and EncodeHint().