#include <staticobject.h>
Public Member Functions | |
StaticObject ()=default | |
StaticObject (const ServerActiveObject *s_obj, const v3f &pos_) | |
void | serialize (std::ostream &os) |
void | deSerialize (std::istream &is, u8 version) |
Public Attributes | |
u8 | type = 0 |
v3f | pos |
std::string | data |
|
default |
StaticObject::StaticObject | ( | const ServerActiveObject * | s_obj, |
const v3f & | pos_ | ||
) |
void StaticObject::deSerialize | ( | std::istream & | is, |
u8 | version | ||
) |
References data, deSerializeString16(), pos, readU8(), readV3F1000(), and type.
Referenced by StaticObjectList::deSerialize().
void StaticObject::serialize | ( | std::ostream & | os | ) |
References data, pos, serializeString16(), type, writeU8(), and writeV3F1000().
Referenced by StaticObjectList::serialize().
std::string StaticObject::data |
v3f StaticObject::pos |
u8 StaticObject::type = 0 |
Referenced by ServerEnvironment::activateObjects(), deSerialize(), and serialize().