/usr/include/Eris-1.3/Eris/CustomEntities.h is in liberis-1.3-dev 1.3.23-6ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | #ifndef ERIS_CUSTOMENTITIES_H_
#define ERIS_CUSTOMENTITIES_H_
#include <Atlas/Objects/Entity.h>
namespace Atlas { namespace Objects { namespace Entity {
class SysData;
typedef SmartPtr<SysData> Sys;
extern int SYS_NO;
/// \brief Privileged accounts which aren't persisted on the server.
///
/** Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
*/
class SysData : public AccountData
{
protected:
/// Construct a AdminData class definition.
SysData(SysData *defaults = NULL) :
AccountData((AccountData*)defaults)
{
m_class_no = SYS_NO;
}
/// Default destructor.
virtual ~SysData();
public:
/// Copy this object.
virtual SysData * copy() const;
/// Is this instance of some class?
virtual bool instanceOf(int classNo) const;
virtual void iterate(int& current_class, std::string& attr) const
{if(current_class == SYS_NO) current_class = -1; SysData::iterate(current_class, attr);}
//freelist related things
public:
static SysData *alloc();
virtual void free();
/// \brief Get the reference object that contains the default values for
/// attributes of instances of the same class as this object.
///
/// @return a pointer to the default object.
virtual SysData *getDefaultObject();
/// \brief Get the reference object that contains the default values for
/// attributes of instances of this class.
///
/// @return a pointer to the default object.
static SysData *getDefaultObjectInstance();
private:
static SysData *defaults_SysData;
static SysData *begin_SysData;
};
} } }
#endif /* ERIS_CUSTOMENTITIES_H_ */
|