Crossfire Server, Trunk
|
#include <CREWrapperObject.h>
Public Member Functions | |
int8_t | ac () const |
CREWrapperArchetype * | arch () |
quint32 | attacktype () const |
CREWrapperObject () | |
int16_t | damage () const |
int64_t | experience () const |
object * | getObject () |
int16_t | hp () const |
bool | isAlive () const |
bool | isGenerator () const |
bool | isMonster () const |
int | level () const |
QString | materialName () const |
QString | name () const |
QString | race () const |
CREWrapperTreasureList * | randomItems () |
void | setAc (int8_t ac) |
void | setDamage (int16_t damage) |
void | setExperience (int64_t experience) |
void | setHp (int16_t hp) |
void | setLevel (int level) |
void | setObject (object *obj) |
void | setSpeed (float speed) |
void | setWc (int8_t wc) |
void | setWeight (int32_t weight) |
QString | skill () const |
QString | slaying () const |
float | speed () const |
int | subType () const |
QString | title () const |
int | type () const |
int8_t | wc () const |
int32_t | weight () const |
virtual | ~CREWrapperObject () |
Protected Attributes | |
CREWrapperArchetype * | myArchetype |
object * | myObject |
CREWrapperTreasureList * | myTreasure |
Properties | |
int | ac |
QObject | arch |
quint32 | attacktype |
int | damage |
qint64 | experience |
int | hp |
bool | isAlive |
bool | isGenerator |
bool | isMonster |
int | level |
QString | materialName |
QString | name |
QString | race |
QObject | randomItems |
QString | skill |
QString | slaying |
float | speed |
int | subType |
QString | title |
int | type |
int | wc |
int | weight |
Definition at line 12 of file CREWrapperObject.h.
CREWrapperObject::CREWrapperObject | ( | ) |
Definition at line 3 of file CREWrapperObject.cpp.
References myArchetype, myObject, and myTreasure.
|
virtual |
Definition at line 10 of file CREWrapperObject.cpp.
References myArchetype, and myTreasure.
|
inline |
Definition at line 62 of file CREWrapperObject.h.
References liv::ac, myObject, and obj::stats.
CREWrapperArchetype* CREWrapperObject::arch | ( | ) |
quint32 CREWrapperObject::attacktype | ( | ) | const |
|
inline |
Definition at line 66 of file CREWrapperObject.h.
References liv::dam, myObject, and obj::stats.
|
inline |
Definition at line 59 of file CREWrapperObject.h.
References liv::exp, myObject, and obj::stats.
|
inline |
Definition at line 44 of file CREWrapperObject.h.
References myObject.
|
inline |
Definition at line 68 of file CREWrapperObject.h.
References liv::hp, myObject, and obj::stats.
bool CREWrapperObject::isAlive | ( | ) | const |
|
inline |
Definition at line 58 of file CREWrapperObject.h.
References FLAG_GENERATOR, myObject, and QUERY_FLAG.
bool CREWrapperObject::isMonster | ( | ) | const |
int CREWrapperObject::level | ( | ) | const |
QString CREWrapperObject::materialName | ( | ) | const |
QString CREWrapperObject::name | ( | ) | const |
QString CREWrapperObject::race | ( | ) | const |
CREWrapperTreasureList* CREWrapperObject::randomItems | ( | ) |
|
inline |
Definition at line 63 of file CREWrapperObject.h.
References ac, liv::ac, myObject, and obj::stats.
|
inline |
Definition at line 67 of file CREWrapperObject.h.
References liv::dam, damage, myObject, and obj::stats.
|
inline |
Definition at line 60 of file CREWrapperObject.h.
References liv::exp, experience, myObject, and obj::stats.
|
inline |
Definition at line 69 of file CREWrapperObject.h.
References hp, liv::hp, myObject, and obj::stats.
|
inline |
Definition at line 55 of file CREWrapperObject.h.
References level, obj::level, and myObject.
void CREWrapperObject::setObject | ( | object * | obj | ) |
Definition at line 16 of file CREWrapperObject.cpp.
References obj::arch, myArchetype, myObject, myTreasure, altar_valkyrie::obj, and CREWrapperArchetype::setArchetype().
Referenced by CREResourcesWindow::fillArchetypes(), and CREWrapperArtifact::setArtifact().
|
inline |
Definition at line 75 of file CREWrapperObject.h.
References myObject, speed, and obj::speed.
|
inline |
Definition at line 65 of file CREWrapperObject.h.
References myObject, obj::stats, wc, and liv::wc.
|
inline |
Definition at line 71 of file CREWrapperObject.h.
References myObject, weight, and obj::weight.
|
inline |
Definition at line 51 of file CREWrapperObject.h.
References myObject, and obj::skill.
|
inline |
Definition at line 50 of file CREWrapperObject.h.
References myObject, and obj::slaying.
|
inline |
Definition at line 74 of file CREWrapperObject.h.
References myObject, and obj::speed.
|
inline |
Definition at line 53 of file CREWrapperObject.h.
References myObject, and obj::subtype.
|
inline |
Definition at line 49 of file CREWrapperObject.h.
References myObject, and obj::title.
int CREWrapperObject::type | ( | ) | const |
|
inline |
Definition at line 64 of file CREWrapperObject.h.
References myObject, obj::stats, and liv::wc.
|
inline |
Definition at line 70 of file CREWrapperObject.h.
References myObject, and obj::weight.
|
protected |
Definition at line 79 of file CREWrapperObject.h.
Referenced by CREWrapperObject(), setObject(), and ~CREWrapperObject().
|
protected |
Definition at line 78 of file CREWrapperObject.h.
Referenced by ac(), CREWrapperObject(), damage(), experience(), getObject(), hp(), isGenerator(), setAc(), setDamage(), setExperience(), setHp(), setLevel(), setObject(), setSpeed(), setWc(), setWeight(), skill(), slaying(), speed(), subType(), title(), wc(), and weight().
|
protected |
Definition at line 80 of file CREWrapperObject.h.
Referenced by CREWrapperObject(), setObject(), and ~CREWrapperObject().
|
readwrite |
Definition at line 29 of file CREWrapperObject.h.
Referenced by setAc().
|
read |
Definition at line 31 of file CREWrapperObject.h.
|
read |
Definition at line 28 of file CREWrapperObject.h.
|
readwrite |
Definition at line 32 of file CREWrapperObject.h.
Referenced by setDamage().
|
readwrite |
Definition at line 27 of file CREWrapperObject.h.
Referenced by setExperience().
|
readwrite |
Definition at line 33 of file CREWrapperObject.h.
Referenced by setHp().
|
read |
Definition at line 25 of file CREWrapperObject.h.
|
read |
Definition at line 26 of file CREWrapperObject.h.
|
read |
Definition at line 24 of file CREWrapperObject.h.
|
readwrite |
Definition at line 23 of file CREWrapperObject.h.
Referenced by setLevel().
|
read |
Definition at line 35 of file CREWrapperObject.h.
|
read |
Definition at line 16 of file CREWrapperObject.h.
|
read |
Definition at line 17 of file CREWrapperObject.h.
|
read |
Definition at line 36 of file CREWrapperObject.h.
|
read |
Definition at line 20 of file CREWrapperObject.h.
|
read |
Definition at line 19 of file CREWrapperObject.h.
|
readwrite |
Definition at line 37 of file CREWrapperObject.h.
Referenced by setSpeed().
|
read |
Definition at line 22 of file CREWrapperObject.h.
|
read |
Definition at line 18 of file CREWrapperObject.h.
|
read |
Definition at line 21 of file CREWrapperObject.h.
|
readwrite |
Definition at line 30 of file CREWrapperObject.h.
Referenced by setWc().
|
readwrite |
Definition at line 34 of file CREWrapperObject.h.
Referenced by setWeight().