|
Pol
Rev 533
|
#include <staticserver.h>
Collaboration diagram for StaticServer:Public Member Functions | |
| StaticServer (const RealmDescriptor &descriptor) | |
| ~StaticServer () | |
| bool | findstatic (unsigned short x, unsigned short y, unsigned short objtype) const |
| void | getstatics (StaticEntryList &statics, unsigned short x, unsigned short y) const |
| StaticServer & | operator= (const StaticServer &) |
Protected Member Functions | |
| void | Validate () const |
| void | ValidateBlock (unsigned short x, unsigned short y) const |
Private Attributes | |
| RealmDescriptor | _descriptor |
| vector< STATIC_INDEX > | _index |
| vector< STATIC_ENTRY > | _statics |
Definition at line 19 of file staticserver.h.
| StaticServer::StaticServer | ( | const RealmDescriptor & | descriptor | ) | [explicit] |
Definition at line 21 of file staticserver.cpp.
References _descriptor, _index, _statics, RealmDescriptor::path(), BinaryFile::ReadVector(), and Validate().
Here is the call graph for this function:Definition at line 45 of file staticserver.cpp.
| bool StaticServer::findstatic | ( | unsigned short | x, |
| unsigned short | y, | ||
| unsigned short | objtype | ||
| ) | const |
Definition at line 86 of file staticserver.cpp.
References _descriptor, _index, _statics, RealmDescriptor::height, STATIC_ENTRY::objtype, passert, STATICBLOCK_SHIFT, STATICCELL_MASK, RealmDescriptor::width, and STATIC_ENTRY::xy.
| void StaticServer::getstatics | ( | StaticEntryList & | statics, |
| unsigned short | x, | ||
| unsigned short | y | ||
| ) | const |
Definition at line 113 of file staticserver.cpp.
References _descriptor, _index, _statics, RealmDescriptor::height, passert, STATICBLOCK_SHIFT, STATICCELL_MASK, RealmDescriptor::width, and STATIC_ENTRY::xy.
| StaticServer& StaticServer::operator= | ( | const StaticServer & | ) | [inline] |
Definition at line 24 of file staticserver.h.
| void StaticServer::Validate | ( | ) | const [protected] |
Definition at line 49 of file staticserver.cpp.
References _descriptor, RealmDescriptor::height, STATICBLOCK_CHUNK, ValidateBlock(), wallclock(), wallclock_diff_ms(), RealmDescriptor::width, and x.
Referenced by StaticServer().
Here is the call graph for this function:
Here is the caller graph for this function:| void StaticServer::ValidateBlock | ( | unsigned short | x, |
| unsigned short | y | ||
| ) | const [protected] |
Definition at line 66 of file staticserver.cpp.
References _descriptor, _index, _statics, STATICBLOCK_CHUNK, STATICBLOCK_SHIFT, tostring(), and RealmDescriptor::width.
Referenced by Validate().
Here is the call graph for this function:
Here is the caller graph for this function:RealmDescriptor StaticServer::_descriptor [private] |
Definition at line 34 of file staticserver.h.
Referenced by findstatic(), getstatics(), StaticServer(), Validate(), and ValidateBlock().
vector<STATIC_INDEX> StaticServer::_index [private] |
Definition at line 36 of file staticserver.h.
Referenced by findstatic(), getstatics(), StaticServer(), and ValidateBlock().
vector<STATIC_ENTRY> StaticServer::_statics [private] |
Definition at line 37 of file staticserver.h.
Referenced by findstatic(), getstatics(), StaticServer(), and ValidateBlock().