42 dstream <<
"ERROR: StaticObjectList::insert(): "
43 <<
"id already exists" << std::endl;
54 warningstream <<
"StaticObjectList::remove(): id=" <<
id <<
" not found"
Definition serveractiveobject.h:41
Definition staticobject.h:30
void clear()
Definition staticobject.h:76
std::map< u16, StaticObject > m_active
Definition staticobject.h:93
void remove(u16 id)
Definition staticobject.h:50
size_t getStoredSize() const
Definition staticobject.h:70
void insert(u16 id, const StaticObject &obj)
Definition staticobject.h:36
void pushStored(const StaticObject &obj)
Definition staticobject.h:72
void setActive(u16 id, const StaticObject &obj)
Definition staticobject.h:68
bool storeActiveObject(u16 id)
Definition staticobject.cpp:111
std::vector< StaticObject > m_stored
Definition staticobject.h:92
void deSerialize(std::istream &is)
Definition staticobject.cpp:89
const std::vector< StaticObject > & getAllStored() const
Definition staticobject.h:65
void serialize(std::ostream &os)
Definition staticobject.cpp:37
size_t size()
Definition staticobject.h:82
const std::map< u16, StaticObject > & getAllActives() const
Definition staticobject.h:66
size_t getActiveSize() const
Definition staticobject.h:69
void clearStored()
Definition staticobject.h:71
#define FATAL_ERROR(msg)
Definition debug.h:33
core::vector3df v3f
Definition irr_v3d.h:11
thread_local LogStream dstream
thread_local LogStream warningstream
Definition staticobject.h:17
u8 type
Definition staticobject.h:18
void serialize(std::ostream &os) const
Definition staticobject.cpp:17
v3f pos
Definition staticobject.h:19
void deSerialize(std::istream &is, u8 version)
Definition staticobject.cpp:27
std::string data
Definition staticobject.h:20