![]() |
TrinityCore
|
#include <SmartScriptMgr.h>
Public Member Functions | |
SmartTarget (SMARTAI_TARGETS t=SMART_TARGET_NONE, uint32 p1=0, uint32 p2=0, uint32 p3=0) | |
Public Attributes | |
SMARTAI_TARGETS | type |
float | x |
float | y |
float | z |
float | o |
union { | |
struct { | |
uint32 creature | |
uint32 minDist | |
uint32 maxDist | |
} unitRange | |
struct { | |
uint32 dbGuid | |
uint32 entry | |
} unitGUID | |
struct { | |
uint32 creature | |
uint32 dist | |
} unitDistance | |
struct { | |
uint32 dist | |
} playerDistance | |
struct { | |
uint32 minDist | |
uint32 maxDist | |
} playerRange | |
struct { | |
uint32 id | |
} stored | |
struct { | |
uint32 entry | |
uint32 minDist | |
uint32 maxDist | |
} goRange | |
struct { | |
uint32 dbGuid | |
uint32 entry | |
} goGUID | |
struct { | |
uint32 entry | |
uint32 dist | |
} goDistance | |
struct { | |
uint32 map | |
} position | |
struct { | |
uint32 entry | |
uint32 dist | |
uint32 dead | |
} closest | |
struct { | |
uint32 maxDist | |
uint32 playerOnly | |
} closestAttackable | |
struct { | |
uint32 maxDist | |
uint32 playerOnly | |
} closestFriendly | |
struct { | |
uint32 param1 | |
uint32 param2 | |
uint32 param3 | |
} raw | |
}; | |
|
inline |
union { ... } |
struct { ... } SmartTarget::closest |
struct { ... } SmartTarget::closestAttackable |
struct { ... } SmartTarget::closestFriendly |
uint32 SmartTarget::creature |
uint32 SmartTarget::dbGuid |
uint32 SmartTarget::dead |
uint32 SmartTarget::dist |
uint32 SmartTarget::entry |
struct { ... } SmartTarget::goDistance |
struct { ... } SmartTarget::goGUID |
struct { ... } SmartTarget::goRange |
uint32 SmartTarget::id |
uint32 SmartTarget::map |
uint32 SmartTarget::maxDist |
uint32 SmartTarget::minDist |
float SmartTarget::o |
uint32 SmartTarget::param1 |
uint32 SmartTarget::param2 |
uint32 SmartTarget::param3 |
struct { ... } SmartTarget::playerDistance |
uint32 SmartTarget::playerOnly |
struct { ... } SmartTarget::playerRange |
struct { ... } SmartTarget::position |
struct { ... } SmartTarget::raw |
struct { ... } SmartTarget::stored |
SMARTAI_TARGETS SmartTarget::type |
struct { ... } SmartTarget::unitDistance |
struct { ... } SmartTarget::unitGUID |
struct { ... } SmartTarget::unitRange |
float SmartTarget::x |
float SmartTarget::y |
float SmartTarget::z |