152 switch (player->GetTeam())
160 if (player->GetDistance(atEntry->
Pos.
X, atEntry->
Pos.
Y, atEntry->
Pos.
Z) > 5.0f + atEntry->
Radius)
164 Map* map = player->GetMap();
166 if (!go->
Create(map->
GenerateLowGuid<
HighGuid::GameObject>(),
SI_SILITHYST_MOUND, map, player->GetPhaseMask(), player->GetPositionX(), player->GetPositionY(), player->GetPositionZ(), player->GetOrientation(), 0, 0, 0, 0, 100,
GO_STATE_READY))
191 if (player->GetDistance(atEntry->
Pos.
X, atEntry->
Pos.
Y, atEntry->
Pos.
Z) > 5.0f + atEntry->
Radius)
195 Map* map = player->GetMap();
197 if (!go->
Create(map->
GenerateLowGuid<
HighGuid::GameObject>(),
SI_SILITHYST_MOUND, map, player->GetPhaseMask(), player->GetPositionX(), player->GetPositionY(), player->GetPositionZ(), player->GetOrientation(), 0, 0, 0, 0, 100,
GO_STATE_READY))
float Z
Definition: DBCEnums.h:36
float Y
Definition: DBCEnums.h:35
DBCStorage< AreaTriggerEntry > sAreaTriggerStore(AreaTriggerfmt)
void CopyPhaseFrom(WorldObject *obj, bool update=false)
Definition: Object.cpp:2915
void SetRespawnTime(int32 respawn)
Definition: GameObject.h:945
const uint32 SI_AREATRIGGER_A
Definition: OutdoorPvPSI.h:39
Definition: SharedDefines.h:1000
DBCPosition3D Pos
Definition: DBCStructure.h:78
bool AddToMap(T *)
Definition: Map.cpp:566
Definition: GameObject.h:880
Definition: OutdoorPvPSI.h:26
float X
Definition: DBCEnums.h:34
Definition: SharedDefines.h:999
Definition: GameObject.h:823
const uint32 SI_SILITHYST_MOUND
Definition: OutdoorPvPSI.h:45
bool Create(ObjectGuid::LowType guidlow, uint32 name_id, Map *map, uint32 phaseMask, float x, float y, float z, float ang, float rotation0, float rotation1, float rotation2, float rotation3, uint32 animprogress, GOState go_state, uint32 artKit=0)
Definition: GameObject.cpp:173
float Radius
Definition: DBCStructure.h:82
Definition: DBCStructure.h:74
ObjectGuid::LowType GenerateLowGuid()
Definition: Map.h:561
const uint32 SI_AREATRIGGER_H
Definition: OutdoorPvPSI.h:37