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)
std::int64_t attr_serialno
Serial number.
GetData * copy() const override
Copy this object.
void reset() override
Resets the object as it's returned to the pool.
std::string attr_parent
The object this inherits attributes from.
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?
ListenData * copy() const override
Copy this object.
std::string attr_objtype
What kind of object this is.
void free() override
Free an instance of this class, returning it to the memory pool.
WieldData * copy() const override
Copy this object.
void reset() override
Resets the object as it's returned to the pool.
void reset() override
Resets the object as it's returned to the pool.
void reset() override
Resets the object as it's returned to the 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?
Generic operation for getting info about things..
void free() override
Free an instance of this class, returning it to the memory pool.
MoveData * copy() const override
Copy this object.
double attr_seconds
Time in seconds.
Generic base operation for perceiving things by eyes, ears, etc....
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.
double attr_future_seconds
Time in seconds to add current time.
bool instanceOf(int classNo) const override
Is this instance of some class?
PerceiveData * 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?
bool instanceOf(int classNo) const override
Is this instance of some class?
bool instanceOf(int classNo) const override
Is this instance of some class?
double attr_stamp
Last time this object was modified.
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.
bool instanceOf(int classNo) const override
Is this instance of some class?
std::int64_t attr_refno
Reference to serial number.
Attach a tool to the character entity at a pre-defined location so that the character can use it...
void free() override
Free an instance of this class, returning it to the memory pool.
LookData * copy() const override
Copy this object.