Pol  Revision:cb584c9
Pol::Plib::StaticServer Class Reference

#include <staticserver.h>

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
 
StaticServeroperator= (const StaticServer &)
 
size_t sizeEstimate () const
 

Protected Member Functions

void Validate () const
 
void ValidateBlock (unsigned short x, unsigned short y) const
 

Private Attributes

const RealmDescriptor _descriptor
 
std::vector< STATIC_INDEX_index
 
std::vector< STATIC_ENTRY_statics
 

Detailed Description

Definition at line 28 of file staticserver.h.

Constructor & Destructor Documentation

Pol::Plib::StaticServer::StaticServer ( const RealmDescriptor descriptor)
explicit
Pol::Plib::StaticServer::~StaticServer ( )
default

Referenced by StaticServer().

Member Function Documentation

bool Pol::Plib::StaticServer::findstatic ( unsigned short  x,
unsigned short  y,
unsigned short  objtype 
) const
void Pol::Plib::StaticServer::getstatics ( StaticEntryList statics,
unsigned short  x,
unsigned short  y 
) const
StaticServer& Pol::Plib::StaticServer::operator= ( const StaticServer )
inline

Definition at line 33 of file staticserver.h.

References Pol::Core::findstatic().

size_t Pol::Plib::StaticServer::sizeEstimate ( ) const
void Pol::Plib::StaticServer::ValidateBlock ( unsigned short  x,
unsigned short  y 
) const
protected

Member Data Documentation

const RealmDescriptor Pol::Plib::StaticServer::_descriptor
private
std::vector<STATIC_INDEX> Pol::Plib::StaticServer::_index
private

Definition at line 45 of file staticserver.h.

Referenced by findstatic(), getstatics(), sizeEstimate(), StaticServer(), and ValidateBlock().

std::vector<STATIC_ENTRY> Pol::Plib::StaticServer::_statics
private

Definition at line 46 of file staticserver.h.

Referenced by findstatic(), getstatics(), sizeEstimate(), StaticServer(), and ValidateBlock().


The documentation for this class was generated from the following files: