8 #include <Atlas/Objects/Operation.h>
11 using Atlas::Message::MapType;
13 namespace Atlas {
namespace Objects {
namespace Operation {
15 Allocator<MoveData> MoveData::allocator;
33 return copyInstance<MoveData>(*
this);
38 if(MOVE_NO == classNo)
return true;
42 void MoveData::fillDefaultObjectInstance(
MoveData& data, std::map<std::string, uint32_t>& attr_data)
71 return copyInstance<WieldData>(*
this);
76 if(WIELD_NO == classNo)
return true;
80 void WieldData::fillDefaultObjectInstance(
WieldData& data, std::map<std::string, uint32_t>& attr_data)
109 return copyInstance<GetData>(*
this);
114 if(GET_NO == classNo)
return true;
118 void GetData::fillDefaultObjectInstance(
GetData& data, std::map<std::string, uint32_t>& attr_data)
135 allocator.free(
this);
147 return copyInstance<PerceiveData>(*
this);
152 if(PERCEIVE_NO == classNo)
return true;
156 void PerceiveData::fillDefaultObjectInstance(
PerceiveData& data, std::map<std::string, uint32_t>& attr_data)
173 allocator.free(
this);
185 return copyInstance<LookData>(*
this);
190 if(LOOK_NO == classNo)
return true;
194 void LookData::fillDefaultObjectInstance(
LookData& data, std::map<std::string, uint32_t>& attr_data)
211 allocator.free(
this);
223 return copyInstance<ListenData>(*
this);
228 if(LISTEN_NO == classNo)
return true;
232 void ListenData::fillDefaultObjectInstance(
ListenData& data, std::map<std::string, uint32_t>& attr_data)
bool instanceOf(int classNo) const override
Is this instance of some class?
void reset() override
Resets the object as it's returned to the pool.
Generic operation for getting info about things..
void free() override
Free an instance of this class, returning it to the memory pool.
void reset() override
Resets the object as it's returned to the pool.
bool instanceOf(int classNo) const override
Is this instance of some class?
GetData * copy() const override
Copy this object.
bool instanceOf(int classNo) const override
Is this instance of some class?
ListenData * copy() const override
Copy this object.
void reset() override
Resets the object as it's returned to the pool.
void free() override
Free an instance of this class, returning it to the memory pool.
void reset() override
Resets the object as it's returned to the pool.
void free() override
Free an instance of this class, returning it to the memory pool.
bool instanceOf(int classNo) const override
Is this instance of some class?
LookData * copy() const override
Copy this object.
MoveData * copy() const override
Copy this object.
void reset() override
Resets the object as it's returned to the pool.
bool instanceOf(int classNo) const override
Is this instance of some class?
void free() override
Free an instance of this class, returning it to the memory pool.
Generic base operation for perceiving things by eyes, ears, etc....
PerceiveData * copy() const override
Copy this object.
void reset() override
Resets the object as it's returned to the pool.
void free() override
Free an instance of this class, returning it to the memory pool.
bool instanceOf(int classNo) const override
Is this instance of some class?
double attr_future_seconds
Time in seconds to add current time.
double attr_seconds
Time in seconds.
std::int64_t attr_refno
Reference to serial number.
std::int64_t attr_serialno
Serial number.
void reset() override
Resets the object as it's returned to the pool.
bool instanceOf(int classNo) const override
Is this instance of some class?
Attach a tool to the character entity at a pre-defined location so that the character can use it....
void reset() override
Resets the object as it's returned to the pool.
bool instanceOf(int classNo) const override
Is this instance of some class?
WieldData * copy() const override
Copy this object.
void free() override
Free an instance of this class, returning it to the memory pool.
std::string attr_objtype
What kind of object this is.
std::string attr_parent
The object this inherits attributes from.
double attr_stamp
Last time this object was modified.