|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <BattlefieldWG.h>
Public Member Functions | |
| BfWGGameObjectBuilding (BattlefieldWG *WG) | |
| void | Damaged () |
| void | Destroyed () |
| void | Init (GameObject *go, uint32 type, uint32 worldstate, uint32 nameid) |
| void | Rebuild () |
| void | Save () const |
| void | UpdateCreatureAndGo () |
| void | UpdateTurretAttack (bool disable) |
Definition at line 1048 of file BattlefieldWG.h.
|
inline |
Definition at line 1050 of file BattlefieldWG.h.
References m_BuildGUID, m_NameId, m_State, m_Team, m_Type, m_WG, and m_WorldState.
|
inline |
Definition at line 1129 of file BattlefieldWG.h.
References BATTLEFIELD_WG_OBJECTSTATE_ALLIANCE_DAMAGE, BATTLEFIELD_WG_OBJECTTYPE_KEEP_TOWER, BATTLEFIELD_WG_OBJECTTYPE_TOWER, m_CreatureTopList, m_NameId, m_State, m_Team, m_TurretTopList, m_Type, m_WG, and m_WorldState.
|
inline |
Definition at line 1154 of file BattlefieldWG.h.
References BATTLEFIELD_WG_OBJECTSTATE_ALLIANCE_DESTROY, BATTLEFIELD_WG_OBJECTTYPE_DOOR_LAST, BATTLEFIELD_WG_OBJECTTYPE_KEEP_TOWER, BATTLEFIELD_WG_OBJECTTYPE_TOWER, WorldObject::FindNearestGameObject(), GAMEOBJECT_FIELD_FLAGS, GO_FLAG_IN_USE, GO_STATE_ACTIVE, GO_WINTERGRASP_KEEP_COLLISION_WALL, m_BuildGUID, m_NameId, m_State, m_Team, m_Type, m_WG, m_WorldState, and SF_LOG_ERROR.
|
inline |
Definition at line 1186 of file BattlefieldWG.h.
References AttackTowers, BATTLEFIELD_WG_OBJECTSTATE_ALLIANCE_DAMAGE, BATTLEFIELD_WG_OBJECTSTATE_ALLIANCE_DESTROY, BATTLEFIELD_WG_OBJECTSTATE_ALLIANCE_INTACT, BATTLEFIELD_WG_OBJECTSTATE_HORDE_DAMAGE, BATTLEFIELD_WG_OBJECTSTATE_HORDE_DESTROY, BATTLEFIELD_WG_OBJECTSTATE_HORDE_INTACT, BATTLEFIELD_WG_OBJECTTYPE_DOOR, BATTLEFIELD_WG_OBJECTTYPE_DOOR_LAST, BATTLEFIELD_WG_OBJECTTYPE_KEEP_TOWER, BATTLEFIELD_WG_OBJECTTYPE_TOWER, BATTLEFIELD_WG_OBJECTTYPE_WALL, WintergraspObjectPositionData::entryAlliance, WintergraspObjectPositionData::entryHorde, Object::GetEntry(), Object::GetGUID(), GO_DESTRUCTIBLE_DAMAGED, GO_DESTRUCTIBLE_DESTROYED, GO_DESTRUCTIBLE_REBUILDING, GO_WINTERGRASP_FLAMEWATCH_TOWER, GO_WINTERGRASP_FORTRESS_TOWER_1, GO_WINTERGRASP_FORTRESS_TOWER_2, GO_WINTERGRASP_FORTRESS_TOWER_3, GO_WINTERGRASP_FORTRESS_TOWER_4, GO_WINTERGRASP_SHADOWSIGHT_TOWER, GO_WINTERGRASP_WINTER_S_EDGE_TOWER, m_BuildGUID, m_CreatureBottomList, m_CreatureTopList, m_GameObjectList, m_NameId, m_State, m_Team, m_TowerCannonBottomList, m_TurretTopList, m_Type, m_WG, m_WorldState, NPC_WINTERGRASP_TOWER_CANNON, WintergraspObjectPositionData::o, GameObject::SetDestructibleState(), sWorld, TEAM_ALLIANCE, TEAM_HORDE, TEAM_NEUTRAL, TowerCannon, UpdateCreatureAndGo(), WintergraspFaction, WintergraspObjectPositionData::x, WintergraspObjectPositionData::y, and WintergraspObjectPositionData::z.
Referenced by BattlefieldWG::SetupBattlefield().
|
inline |
Definition at line 1091 of file BattlefieldWG.h.
References BATTLEFIELD_WG_OBJECTSTATE_ALLIANCE_INTACT, BATTLEFIELD_WG_OBJECTTYPE_DOOR, BATTLEFIELD_WG_OBJECTTYPE_DOOR_LAST, BATTLEFIELD_WG_OBJECTTYPE_KEEP_TOWER, BATTLEFIELD_WG_OBJECTTYPE_TOWER, BATTLEFIELD_WG_OBJECTTYPE_WALL, WorldObject::FindNearestGameObject(), GAMEOBJECT_FIELD_FACTION_TEMPLATE, GO_DESTRUCTIBLE_REBUILDING, GO_STATE_READY, GO_WINTERGRASP_KEEP_COLLISION_WALL, GO_WINTERGRASP_VAULT_GATE, m_BuildGUID, m_State, m_Team, m_Type, m_WG, m_WorldState, TEAM_NEUTRAL, UpdateCreatureAndGo(), and WintergraspFaction.
|
inline |
Definition at line 1448 of file BattlefieldWG.h.
References m_State, m_WorldState, and sWorld.
|
inline |
Definition at line 1352 of file BattlefieldWG.h.
References m_CreatureBottomList, m_CreatureTopList, m_GameObjectList, m_WG, RESPAWN_IMMEDIATELY, and RESPAWN_ONE_DAY.
|
inline |
Definition at line 1379 of file BattlefieldWG.h.
References GO_WINTERGRASP_FLAMEWATCH_TOWER, GO_WINTERGRASP_FORTRESS_TOWER_1, GO_WINTERGRASP_FORTRESS_TOWER_2, GO_WINTERGRASP_FORTRESS_TOWER_3, GO_WINTERGRASP_FORTRESS_TOWER_4, GO_WINTERGRASP_SHADOWSIGHT_TOWER, GO_WINTERGRASP_WINTER_S_EDGE_TOWER, m_BuildGUID, m_TowerCannonBottomList, m_TurretTopList, m_WG, and WintergraspFaction.
| uint64 BfWGGameObjectBuilding::m_BuildGUID |
Definition at line 1068 of file BattlefieldWG.h.
Referenced by BfWGGameObjectBuilding(), Destroyed(), Init(), Rebuild(), and UpdateTurretAttack().
| GuidSet BfWGGameObjectBuilding::m_CreatureBottomList[2] |
Definition at line 1086 of file BattlefieldWG.h.
Referenced by Init(), and UpdateCreatureAndGo().
| GuidSet BfWGGameObjectBuilding::m_CreatureTopList[2] |
Definition at line 1087 of file BattlefieldWG.h.
Referenced by Damaged(), Init(), and UpdateCreatureAndGo().
| GuidSet BfWGGameObjectBuilding::m_GameObjectList[2] |
Definition at line 1083 of file BattlefieldWG.h.
Referenced by Init(), and UpdateCreatureAndGo().
| uint32 BfWGGameObjectBuilding::m_NameId |
Definition at line 1080 of file BattlefieldWG.h.
Referenced by BfWGGameObjectBuilding(), Damaged(), Destroyed(), and Init().
| uint32 BfWGGameObjectBuilding::m_State |
Definition at line 1077 of file BattlefieldWG.h.
Referenced by BfWGGameObjectBuilding(), Damaged(), Destroyed(), Init(), Rebuild(), and Save().
| uint8 BfWGGameObjectBuilding::m_Team |
Definition at line 1062 of file BattlefieldWG.h.
Referenced by BfWGGameObjectBuilding(), Damaged(), Destroyed(), Init(), and Rebuild().
| GuidSet BfWGGameObjectBuilding::m_TowerCannonBottomList |
Definition at line 1088 of file BattlefieldWG.h.
Referenced by Init(), and UpdateTurretAttack().
| GuidSet BfWGGameObjectBuilding::m_TurretTopList |
Definition at line 1089 of file BattlefieldWG.h.
Referenced by Damaged(), Init(), and UpdateTurretAttack().
| uint32 BfWGGameObjectBuilding::m_Type |
Definition at line 1071 of file BattlefieldWG.h.
Referenced by BfWGGameObjectBuilding(), Damaged(), Destroyed(), Init(), and Rebuild().
| BattlefieldWG* BfWGGameObjectBuilding::m_WG |
Definition at line 1065 of file BattlefieldWG.h.
Referenced by BfWGGameObjectBuilding(), Damaged(), Destroyed(), Init(), Rebuild(), UpdateCreatureAndGo(), and UpdateTurretAttack().
| uint32 BfWGGameObjectBuilding::m_WorldState |
Definition at line 1074 of file BattlefieldWG.h.
Referenced by BfWGGameObjectBuilding(), Damaged(), Destroyed(), Init(), Rebuild(), and Save().