13 void set(ThingNum tnum);
24 bool is_type(
const UBYTE & t)
const;
32 template <
class Archive>
33 void save(Archive& ar)
const 39 ar(POP3SAVENAME(
Header), POP3SAVENAME(tnum));
42 template <
class Archive>
46 ar(POP3SAVENAME(
Header), POP3SAVENAME(ThingID));
49 if (!
gsi.ObjectMan.isLoadingCritical())
51 t_thing =
gsi.ObjectMan.getThingWhileLoading(ThingID);
54 gsi.ObjectMan.addReference(
this);
59 gsi.ObjectMan.addMeToQueue(
this, ThingID);
102 explicit operator bool()
const 115 template <
class Archive>
118 ar(POP3SAVENAME(
data));
bool operator!=(const ObjectProxy &b) const
bool operator<(const ObjectProxy &b) const
void setFlags(const UBYTE &f)
ObjectProxy & operator=(const ThingNum &other)
bool operator!=(const ThingNum &lhs, const ObjectProxy &rhs)
void unsetFlag(const UBYTE &f)
bool is_type(const UBYTE &t) const
void save(Archive &ar) const
bool operator==(const ThingNum &lhs, const ObjectProxy &rhs)
bool operator>(const ObjectProxy &b) const
bool operator<=(const ObjectProxy &b) const
Thing * operator *() const
const UBYTE & getFlags() const
ThingNum getThingNum() const
void setFlag(const UBYTE &f)
void serialize(Archive &ar)
const UBYTE & getType() const
Thing * operator->() const
bool is_flag_enabled(const UBYTE &f) const
bool operator==(const ObjectProxy &b) const
bool operator>=(const ObjectProxy &b) const