|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <SmartScriptMgr.h>
Public Member Functions | |
| SmartTarget (SMARTAI_TARGETS t=SMART_TARGET_NONE, uint32 p1=0, uint32 p2=0, uint32 p3=0) | |
Public Attributes | |
| union { | |
| struct { | |
| uint32 dead | |
| uint32 dist | |
| uint32 entry | |
| } closest | |
| struct { | |
| uint32 maxDist | |
| uint32 playerOnly | |
| } closestAttackable | |
| struct { | |
| uint32 maxDist | |
| uint32 playerOnly | |
| } closestFriendly | |
| struct { | |
| uint32 dist | |
| uint32 entry | |
| } goDistance | |
| struct { | |
| uint32 dbGuid | |
| uint32 entry | |
| } goGUID | |
| struct { | |
| uint32 entry | |
| uint32 maxDist | |
| uint32 minDist | |
| } goRange | |
| struct { | |
| uint32 dist | |
| } playerDistance | |
| struct { | |
| uint32 maxDist | |
| uint32 minDist | |
| } playerRange | |
| struct { | |
| uint32 map | |
| } position | |
| struct { | |
| uint32 param1 | |
| uint32 param2 | |
| uint32 param3 | |
| } raw | |
| struct { | |
| uint32 id | |
| } stored | |
| struct { | |
| uint32 creature | |
| uint32 dist | |
| } unitDistance | |
| struct { | |
| uint32 dbGuid | |
| uint32 entry | |
| } unitGUID | |
| struct { | |
| uint32 creature | |
| uint32 maxDist | |
| uint32 minDist | |
| } unitRange | |
| }; | |
| float | o |
| SMARTAI_TARGETS | type |
| float | x |
| float | y |
| float | z |
Definition at line 1051 of file SmartScriptMgr.h.
|
inline |
Definition at line 1053 of file SmartScriptMgr.h.
| union { ... } SmartTarget |
| struct { ... } SmartTarget::closest |
Referenced by SmartScript::GetTargets().
| struct { ... } SmartTarget::closestAttackable |
Referenced by SmartScript::GetTargets().
| struct { ... } SmartTarget::closestFriendly |
Referenced by SmartScript::GetTargets().
| uint32 SmartTarget::creature |
Definition at line 1066 of file SmartScriptMgr.h.
Referenced by SmartScript::GetTargets(), and SmartAIMgr::IsTargetValid().
| uint32 SmartTarget::dbGuid |
Definition at line 1073 of file SmartScriptMgr.h.
Referenced by SmartScript::GetTargets().
| uint32 SmartTarget::dead |
Definition at line 1127 of file SmartScriptMgr.h.
Referenced by SmartScript::GetTargets().
| uint32 SmartTarget::dist |
Definition at line 1080 of file SmartScriptMgr.h.
Referenced by SmartScript::GetTargets(), and SmartAIMgr::IsTargetValid().
| uint32 SmartTarget::entry |
Definition at line 1074 of file SmartScriptMgr.h.
Referenced by SmartScript::GetTargets(), and SmartAIMgr::IsTargetValid().
| struct { ... } SmartTarget::goDistance |
Referenced by SmartScript::GetTargets(), and SmartAIMgr::IsTargetValid().
| struct { ... } SmartTarget::goGUID |
Referenced by SmartScript::GetTargets(), and SmartAIMgr::IsTargetValid().
| struct { ... } SmartTarget::goRange |
Referenced by SmartScript::GetTargets().
| uint32 SmartTarget::id |
Definition at line 1096 of file SmartScriptMgr.h.
Referenced by SmartScript::GetTargets().
| uint32 SmartTarget::map |
Definition at line 1120 of file SmartScriptMgr.h.
| uint32 SmartTarget::maxDist |
Definition at line 1068 of file SmartScriptMgr.h.
Referenced by SmartScript::GetTargets().
| uint32 SmartTarget::minDist |
Definition at line 1067 of file SmartScriptMgr.h.
Referenced by SmartScript::GetTargets().
| float SmartTarget::o |
Definition at line 1061 of file SmartScriptMgr.h.
Referenced by SmartAIMgr::LoadSmartAIFromDB(), SmartScript::ProcessAction(), and SmartTarget().
| uint32 SmartTarget::param1 |
Definition at line 1144 of file SmartScriptMgr.h.
Referenced by SmartScript::CreateEvent(), SmartScript::InstallTemplate(), and SmartAIMgr::LoadSmartAIFromDB().
| uint32 SmartTarget::param2 |
Definition at line 1145 of file SmartScriptMgr.h.
Referenced by SmartScript::CreateEvent(), and SmartAIMgr::LoadSmartAIFromDB().
| uint32 SmartTarget::param3 |
Definition at line 1146 of file SmartScriptMgr.h.
Referenced by SmartScript::CreateEvent(), and SmartAIMgr::LoadSmartAIFromDB().
| struct { ... } SmartTarget::playerDistance |
Referenced by SmartScript::GetTargets(), and SmartAIMgr::IsTargetValid().
| uint32 SmartTarget::playerOnly |
Definition at line 1133 of file SmartScriptMgr.h.
Referenced by SmartScript::GetTargets().
| struct { ... } SmartTarget::playerRange |
Referenced by SmartScript::GetTargets().
| struct { ... } SmartTarget::position |
| struct { ... } SmartTarget::raw |
Referenced by SmartScript::CreateEvent(), SmartScript::InstallTemplate(), SmartAIMgr::LoadSmartAIFromDB(), and SmartTarget().
| struct { ... } SmartTarget::stored |
Referenced by SmartScript::GetTargets().
| SMARTAI_TARGETS SmartTarget::type |
Definition at line 1060 of file SmartScriptMgr.h.
Referenced by SmartScript::CreateEvent(), SmartAIMgr::LoadSmartAIFromDB(), SmartScript::ProcessAction(), and SmartTarget().
| struct { ... } SmartTarget::unitDistance |
Referenced by SmartScript::GetTargets(), and SmartAIMgr::IsTargetValid().
| struct { ... } SmartTarget::unitGUID |
Referenced by SmartScript::GetTargets(), and SmartAIMgr::IsTargetValid().
| struct { ... } SmartTarget::unitRange |
Referenced by SmartScript::GetTargets().
| float SmartTarget::x |
Definition at line 1061 of file SmartScriptMgr.h.
Referenced by SmartAIMgr::LoadSmartAIFromDB(), SmartScript::ProcessAction(), and SmartTarget().
| float SmartTarget::y |
Definition at line 1061 of file SmartScriptMgr.h.
Referenced by SmartAIMgr::LoadSmartAIFromDB(), SmartScript::ProcessAction(), and SmartTarget().
| float SmartTarget::z |
Definition at line 1061 of file SmartScriptMgr.h.
Referenced by SmartAIMgr::LoadSmartAIFromDB(), SmartScript::ProcessAction(), and SmartTarget().