8 #include <Atlas/Objects/Operation.h>
11 using Atlas::Message::MapType;
13 namespace Atlas {
namespace Objects {
namespace Operation {
15 Allocator<ImaginaryData> ImaginaryData::allocator;
33 return copyInstance<ImaginaryData>(*
this);
38 if(IMAGINARY_NO == classNo)
return true;
42 void ImaginaryData::fillDefaultObjectInstance(
ImaginaryData& data, std::map<std::string, uint32_t>& attr_data)
71 return copyInstance<UseData>(*
this);
76 if(USE_NO == classNo)
return true;
80 void UseData::fillDefaultObjectInstance(
UseData& data, std::map<std::string, uint32_t>& attr_data)
109 return copyInstance<ActivityData>(*
this);
114 if(ACTIVITY_NO == classNo)
return true;
118 void ActivityData::fillDefaultObjectInstance(
ActivityData& data, std::map<std::string, uint32_t>& attr_data)
135 allocator.free(
this);
147 return copyInstance<InfoData>(*
this);
152 if(INFO_NO == classNo)
return true;
156 void InfoData::fillDefaultObjectInstance(
InfoData& data, std::map<std::string, uint32_t>& attr_data)
173 allocator.free(
this);
185 return copyInstance<PerceptionData>(*
this);
190 if(PERCEPTION_NO == classNo)
return true;
194 void PerceptionData::fillDefaultObjectInstance(
PerceptionData& data, std::map<std::string, uint32_t>& attr_data)
211 allocator.free(
this);
223 return copyInstance<UnseenData>(*
this);
228 if(UNSEEN_NO == classNo)
return true;
232 void UnseenData::fillDefaultObjectInstance(
UnseenData& 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.
Activities performed by entities. This is mainly meant for actions that should be communicated to oth...
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?
ActivityData * copy() const override
Copy this object.
void free() override
Free an instance of this class, returning it to the memory pool.
When something is not yet implemented in server, then character can pretend to do something ;-).
ImaginaryData * copy() const override
Copy this object.
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?
This is base operator for operations that tell you info about objects or events..
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.
InfoData * copy() const override
Copy this object.
void free() override
Free an instance of this class, returning it to the memory pool.
Character perceives something..
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?
void reset() override
Resets the object as it's returned to the pool.
PerceptionData * copy() const override
Copy this object.
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.
void reset() override
Resets the object as it's returned to the pool.
std::int64_t attr_refno
Reference to serial number.
std::int64_t attr_serialno
Serial number.
Character failed to interact with another entity because it does not exist..
UnseenData * copy() const override
Copy this object.
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?
Use a currently wielded tool..
bool instanceOf(int classNo) const override
Is this instance of some class?
UseData * copy() const override
Copy this object.
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.
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.