#include "GameObjectData.h"
◆ GetAutoCloseTime()
uint32 GameObjectTemplate::GetAutoCloseTime |
( |
| ) |
const |
|
inline |
512 {
515 {
518 break;
521 break;
524 break;
527 break;
530 break;
533 break;
534 default:
535 break;
536 }
538 }
std::uint32_t uint32
Definition: Define.h:107
@ GAMEOBJECT_TYPE_BUTTON
Definition: SharedDefines.h:1561
@ GAMEOBJECT_TYPE_TRANSPORT
Definition: SharedDefines.h:1571
@ GAMEOBJECT_TYPE_TRAP
Definition: SharedDefines.h:1566
@ GAMEOBJECT_TYPE_AREADAMAGE
Definition: SharedDefines.h:1572
@ GAMEOBJECT_TYPE_GOOBER
Definition: SharedDefines.h:1570
@ GAMEOBJECT_TYPE_DOOR
Definition: SharedDefines.h:1560
struct GameObjectTemplate::@227::@240 areadamage
struct GameObjectTemplate::@227::@229 door
uint32 type
Definition: GameObjectData.h:34
struct GameObjectTemplate::@227::@230 button
uint32 autoCloseTime
Definition: GameObjectData.h:48
struct GameObjectTemplate::@227::@238 goober
struct GameObjectTemplate::@227::@239 transport
struct GameObjectTemplate::@227::@234 trap
References areadamage, autoCloseTime, button, door, GAMEOBJECT_TYPE_AREADAMAGE, GAMEOBJECT_TYPE_BUTTON, GAMEOBJECT_TYPE_DOOR, GAMEOBJECT_TYPE_GOOBER, GAMEOBJECT_TYPE_TRANSPORT, GAMEOBJECT_TYPE_TRAP, goober, transport, trap, and type.
Referenced by Spell::EffectOpenLock(), GameObject::Use(), and GameObject::UseDoorOrButton().
◆ GetCharges()
uint32 GameObjectTemplate::GetCharges |
( |
| ) |
const |
|
inline |
◆ GetCooldown()
uint32 GameObjectTemplate::GetCooldown |
( |
| ) |
const |
|
inline |
◆ GetDespawnPossibility()
bool GameObjectTemplate::GetDespawnPossibility |
( |
| ) |
const |
|
inline |
460 {
462 {
464 return door.noDamageImmune;
466 return button.noDamageImmune;
470 return goober.noDamageImmune;
475 default:
476 return true;
477 }
478 }
@ GAMEOBJECT_TYPE_FLAGDROP
Definition: SharedDefines.h:1586
@ GAMEOBJECT_TYPE_QUESTGIVER
Definition: SharedDefines.h:1562
@ GAMEOBJECT_TYPE_FLAGSTAND
Definition: SharedDefines.h:1584
struct GameObjectTemplate::@227::@249 flagdrop
struct GameObjectTemplate::@227::@247 flagstand
struct GameObjectTemplate::@227::@231 questgiver
References button, door, flagdrop, flagstand, GAMEOBJECT_TYPE_BUTTON, GAMEOBJECT_TYPE_DOOR, GAMEOBJECT_TYPE_FLAGDROP, GAMEOBJECT_TYPE_FLAGSTAND, GAMEOBJECT_TYPE_GOOBER, GAMEOBJECT_TYPE_QUESTGIVER, goober, questgiver, and type.
◆ GetEventScriptId()
uint32 GameObjectTemplate::GetEventScriptId |
( |
| ) |
const |
|
inline |
◆ GetGossipMenuId()
uint32 GameObjectTemplate::GetGossipMenuId |
( |
| ) |
const |
|
inline |
◆ GetLinkedGameObjectEntry()
uint32 GameObjectTemplate::GetLinkedGameObjectEntry |
( |
| ) |
const |
|
inline |
◆ GetLockId()
uint32 GameObjectTemplate::GetLockId |
( |
| ) |
const |
|
inline |
429 {
431 {
454 default:
455 return 0;
456 }
457 }
@ GAMEOBJECT_TYPE_FISHINGHOLE
Definition: SharedDefines.h:1585
struct GameObjectTemplate::@227::@248 fishinghole
References areadamage, button, camera, chest, door, fishinghole, flagdrop, flagstand, GAMEOBJECT_TYPE_AREADAMAGE, GAMEOBJECT_TYPE_BUTTON, GAMEOBJECT_TYPE_CAMERA, GAMEOBJECT_TYPE_CHEST, GAMEOBJECT_TYPE_DOOR, GAMEOBJECT_TYPE_FISHINGHOLE, GAMEOBJECT_TYPE_FLAGDROP, GAMEOBJECT_TYPE_FLAGSTAND, GAMEOBJECT_TYPE_GOOBER, GAMEOBJECT_TYPE_QUESTGIVER, GAMEOBJECT_TYPE_TRAP, goober, questgiver, trap, and type.
Referenced by Spell::EffectOpenLock(), and GameObject::GetSpellForLock().
◆ GetLootId()
uint32 GameObjectTemplate::GetLootId |
( |
| ) |
const |
|
inline |
◆ IsDespawnAtAction()
bool GameObjectTemplate::IsDespawnAtAction |
( |
| ) |
const |
|
inline |
◆ IsGameObjectForQuests()
bool GameObjectTemplate::IsGameObjectForQuests |
( |
| ) |
const |
|
inline |
639 {
641 }
bool IsForQuests
Definition: GameObjectData.h:395
References IsForQuests.
◆ IsIgnoringLOSChecks()
bool GameObjectTemplate::IsIgnoringLOSChecks |
( |
| ) |
const |
|
inline |
644 {
646 {
652 return chest.losOK == 0;
657 default:
658 return false;
659 }
660 }
References button, chest, flagstand, GAMEOBJECT_TYPE_BUTTON, GAMEOBJECT_TYPE_CHEST, GAMEOBJECT_TYPE_FLAGSTAND, GAMEOBJECT_TYPE_GOOBER, GAMEOBJECT_TYPE_QUESTGIVER, goober, questgiver, and type.
Referenced by Spell::CheckEffectTarget().
◆ IsInfiniteGameObject()
bool GameObjectTemplate::IsInfiniteGameObject |
( |
| ) |
const |
|
inline |
◆ IsLargeGameObject()
bool GameObjectTemplate::IsLargeGameObject |
( |
| ) |
const |
|
inline |
595 {
597 {
605 return trap.large != 0;
614 default:
615 return false;
616 }
617 }
@ GAMEOBJECT_TYPE_CAPTURE_POINT
Definition: SharedDefines.h:1589
@ GAMEOBJECT_TYPE_GENERIC
Definition: SharedDefines.h:1565
struct GameObjectTemplate::@227::@251 capturePoint
struct GameObjectTemplate::@227::@233 _generic
References _generic, button, capturePoint, GAMEOBJECT_TYPE_BUTTON, GAMEOBJECT_TYPE_CAPTURE_POINT, GAMEOBJECT_TYPE_GENERIC, GAMEOBJECT_TYPE_GOOBER, GAMEOBJECT_TYPE_QUESTGIVER, GAMEOBJECT_TYPE_SPELL_FOCUS, GAMEOBJECT_TYPE_SPELLCASTER, GAMEOBJECT_TYPE_TRAP, goober, questgiver, spellcaster, spellFocus, trap, and type.
Referenced by GameObject::Create().
◆ IsUsableMounted()
bool GameObjectTemplate::IsUsableMounted |
( |
| ) |
const |
|
inline |
union { ... } GameObjectTemplate::@228 |
struct { ... } GameObjectTemplate::_generic |
◆ accelRate
uint32 GameObjectTemplate::accelRate |
◆ AIName
std::string GameObjectTemplate::AIName |
◆ allowMounted
uint32 GameObjectTemplate::allowMounted |
◆ animSpell
uint32 GameObjectTemplate::animSpell |
struct { ... } GameObjectTemplate::areadamage |
◆ areaID
uint32 GameObjectTemplate::areaID |
struct { ... } GameObjectTemplate::auraGenerator |
◆ auraID1
uint32 GameObjectTemplate::auraID1 |
◆ auraID2
uint32 GameObjectTemplate::auraID2 |
◆ autoClose
uint32 GameObjectTemplate::autoClose |
◆ autoCloseTime [1/2]
uint32 GameObjectTemplate::autoCloseTime |
◆ autoCloseTime [2/2]
int32 GameObjectTemplate::autoCloseTime |
struct { ... } GameObjectTemplate::barberChair |
struct { ... } GameObjectTemplate::building |
struct { ... } GameObjectTemplate::button |
struct { ... } GameObjectTemplate::camera |
◆ canBeStopped
uint32 GameObjectTemplate::canBeStopped |
struct { ... } GameObjectTemplate::capturePoint |
◆ castBarCaption
std::string GameObjectTemplate::castBarCaption |
◆ castersGrouped
uint32 GameObjectTemplate::castersGrouped |
◆ casterTargetSpell
uint32 GameObjectTemplate::casterTargetSpell |
◆ casterTargetSpellTargets
uint32 GameObjectTemplate::casterTargetSpellTargets |
struct { ... } GameObjectTemplate::chair |
◆ chairheight
uint32 GameObjectTemplate::chairheight |
◆ charges
uint32 GameObjectTemplate::charges |
struct { ... } GameObjectTemplate::chest |
Referenced by GameObject::BuildValuesUpdate(), WorldSession::DoLootRelease(), GetEventScriptId(), GetLinkedGameObjectEntry(), GetLockId(), GetLootId(), gobject_commandscript::HandleGameObjectInfoCommand(), IsDespawnAtAction(), IsIgnoringLOSChecks(), Player::SendLoot(), Spell::SendLoot(), and GameObject::Update().
◆ chestRestockTime
uint32 GameObjectTemplate::chestRestockTime |
◆ cinematicId
uint32 GameObjectTemplate::cinematicId |
◆ closeTextID
uint32 GameObjectTemplate::closeTextID |
◆ conditionID1
uint32 GameObjectTemplate::conditionID1 |
◆ conditionID2
uint32 GameObjectTemplate::conditionID2 |
◆ consumable
uint32 GameObjectTemplate::consumable |
◆ contestedEventID1
uint32 GameObjectTemplate::contestedEventID1 |
◆ contestedEventID2
uint32 GameObjectTemplate::contestedEventID2 |
◆ cooldown
uint32 GameObjectTemplate::cooldown |
◆ creatureID
uint32 GameObjectTemplate::creatureID |
◆ creditProxyCreature
uint32 GameObjectTemplate::creditProxyCreature |
◆ customAnim
uint32 GameObjectTemplate::customAnim |
◆ damagedDisplayId
uint32 GameObjectTemplate::damagedDisplayId |
◆ damagedEvent
uint32 GameObjectTemplate::damagedEvent |
◆ damagedNumHits
uint32 GameObjectTemplate::damagedNumHits |
◆ damageEvent
uint32 GameObjectTemplate::damageEvent |
◆ damageMax
uint32 GameObjectTemplate::damageMax |
◆ damageMin
uint32 GameObjectTemplate::damageMin |
◆ damageSchool
uint32 GameObjectTemplate::damageSchool |
◆ data
◆ debuildingTimeSecs
uint32 GameObjectTemplate::debuildingTimeSecs |
◆ destroyedDisplayId
uint32 GameObjectTemplate::destroyedDisplayId |
◆ destroyedEvent
uint32 GameObjectTemplate::destroyedEvent |
◆ destructibleData
uint32 GameObjectTemplate::destructibleData |
◆ diameter
uint32 GameObjectTemplate::diameter |
◆ difficulty
uint32 GameObjectTemplate::difficulty |
◆ displayId
uint32 GameObjectTemplate::displayId |
◆ dist
uint32 GameObjectTemplate::dist |
struct { ... } GameObjectTemplate::door |
struct { ... } GameObjectTemplate::dungeonDifficulty |
◆ empty10
uint32 GameObjectTemplate::empty10 |
◆ empty11
uint32 GameObjectTemplate::empty11 |
◆ empty12
uint32 GameObjectTemplate::empty12 |
◆ empty13
uint32 GameObjectTemplate::empty13 |
◆ empty14
uint32 GameObjectTemplate::empty14 |
◆ empty3
uint32 GameObjectTemplate::empty3 |
◆ empty4
uint32 GameObjectTemplate::empty4 |
◆ empty5
uint32 GameObjectTemplate::empty5 |
◆ empty7
uint32 GameObjectTemplate::empty7 |
◆ empty8
uint32 GameObjectTemplate::empty8 |
◆ empty9
uint32 GameObjectTemplate::empty9 |
◆ entry
uint32 GameObjectTemplate::entry |
Referenced by CheckAndFixGOChairHeightId(), CheckGOConsumable(), CheckGOLinkedTrapId(), CheckGOLockId(), CheckGONoDamageImmuneId(), CheckGOSpellId(), GameObject::Create(), StaticTransport::Create(), MotionTransport::CreateMoTrans(), OutdoorPvPSI::HandleCustomSpell(), gobject_commandscript::HandleGameObjectAddCommand(), ObjectMgr::LoadScripts(), Acore::GameObjectInRangeCheck::operator()(), and GameObject::Use().
◆ eventId
uint32 GameObjectTemplate::eventId |
◆ eventID
uint32 GameObjectTemplate::eventID |
struct { ... } GameObjectTemplate::fishinghole |
struct { ... } GameObjectTemplate::flagdrop |
struct { ... } GameObjectTemplate::flagstand |
◆ floatingTooltip
uint32 GameObjectTemplate::floatingTooltip |
◆ floatOnWater
uint32 GameObjectTemplate::floatOnWater |
◆ focusId
uint32 GameObjectTemplate::focusId |
◆ gameType
uint32 GameObjectTemplate::gameType |
struct { ... } GameObjectTemplate::goober |
Referenced by GameObject::ActivateToQuest(), Spell::EffectOpenLock(), GetAutoCloseTime(), GetCooldown(), GetDespawnPossibility(), GetEventScriptId(), GetGossipMenuId(), GetLinkedGameObjectEntry(), GetLockId(), go_celestial_planetarium_access::go_celestial_planetarium_accessAI::GossipHello(), IsDespawnAtAction(), IsIgnoringLOSChecks(), IsLargeGameObject(), IsUsableMounted(), go_simon_cluster::OnGossipHello(), and GameObject::Use().
◆ gossipID
uint32 GameObjectTemplate::gossipID |
◆ groupLootRules
uint32 GameObjectTemplate::groupLootRules |
struct { ... } GameObjectTemplate::guardpost |
◆ height
uint32 GameObjectTemplate::height |
◆ heightOffset
uint32 GameObjectTemplate::heightOffset |
◆ highlight
uint32 GameObjectTemplate::highlight |
◆ IconName
std::string GameObjectTemplate::IconName |
◆ ignoredByPathing
uint32 GameObjectTemplate::ignoredByPathing |
◆ ignoreTotems
uint32 GameObjectTemplate::ignoreTotems |
◆ intactEvent
uint32 GameObjectTemplate::intactEvent |
◆ intactNumHits
uint32 GameObjectTemplate::intactNumHits |
◆ invisible
uint32 GameObjectTemplate::invisible |
◆ IsForQuests
bool GameObjectTemplate::IsForQuests |
◆ language
uint32 GameObjectTemplate::language |
◆ large
uint32 GameObjectTemplate::large |
◆ leaveLoot
uint32 GameObjectTemplate::leaveLoot |
◆ level
uint32 GameObjectTemplate::level |
◆ linkedTrap
uint32 GameObjectTemplate::linkedTrap |
◆ linkedTrapId
uint32 GameObjectTemplate::linkedTrapId |
◆ lockId
uint32 GameObjectTemplate::lockId |
◆ logLoot
uint32 GameObjectTemplate::logLoot |
◆ lootId
uint32 GameObjectTemplate::lootId |
◆ losOK
uint32 GameObjectTemplate::losOK |
◆ mapID
uint32 GameObjectTemplate::mapID |
◆ maxLevel
uint32 GameObjectTemplate::maxLevel |
◆ maxSuccessOpens
uint32 GameObjectTemplate::maxSuccessOpens |
◆ maxSuperiority
uint32 GameObjectTemplate::maxSuperiority |
◆ maxTime
uint32 GameObjectTemplate::maxTime |
struct { ... } GameObjectTemplate::meetingstone |
struct { ... } GameObjectTemplate::miniGame |
◆ minLevel
uint32 GameObjectTemplate::minLevel |
◆ minSuccessOpens
uint32 GameObjectTemplate::minSuccessOpens |
◆ minSuperiority
uint32 GameObjectTemplate::minSuperiority |
◆ minTime
uint32 GameObjectTemplate::minTime |
struct { ... } GameObjectTemplate::moTransport |
◆ moveSpeed
uint32 GameObjectTemplate::moveSpeed |
◆ name
std::string GameObjectTemplate::name |
Referenced by GameObject::Create(), StaticTransport::Create(), MotionTransport::CreateMoTrans(), BattlegroundSA::EventPlayerDamagedGO(), gobject_commandscript::HandleGameObjectAddCommand(), gobject_commandscript::HandleGameObjectInfoCommand(), gobject_commandscript::HandleGameObjectMoveCommand(), WorldSession::HandleGameObjectQueryOpcode(), gobject_commandscript::HandleGameObjectTargetCommand(), gobject_commandscript::HandleGameObjectTurnCommand(), and list_commandscript::HandleListObjectCommand().
◆ neutralEventID1
uint32 GameObjectTemplate::neutralEventID1 |
◆ neutralEventID2
uint32 GameObjectTemplate::neutralEventID2 |
◆ neutralPercent
uint32 GameObjectTemplate::neutralPercent |
◆ noDamageImmune
uint32 GameObjectTemplate::noDamageImmune |
◆ notInCombat
uint32 GameObjectTemplate::notInCombat |
◆ onlyCreatorUse
uint32 GameObjectTemplate::onlyCreatorUse |
◆ openTextID
uint32 GameObjectTemplate::openTextID |
◆ pageID
uint32 GameObjectTemplate::pageID |
◆ pageId
uint32 GameObjectTemplate::pageId |
◆ pageMaterial
uint32 GameObjectTemplate::pageMaterial |
◆ partyOnly
uint32 GameObjectTemplate::partyOnly |
◆ pause1EventID
uint32 GameObjectTemplate::pause1EventID |
◆ pause2EventID
uint32 GameObjectTemplate::pause2EventID |
◆ pauseAtTime
uint32 GameObjectTemplate::pauseAtTime |
◆ pickupSpell
uint32 GameObjectTemplate::pickupSpell |
◆ progressEventID1
uint32 GameObjectTemplate::progressEventID1 |
◆ progressEventID2
uint32 GameObjectTemplate::progressEventID2 |
struct { ... } GameObjectTemplate::questgiver |
◆ questId [1/2]
uint32 GameObjectTemplate::questId |
◆ questID [1/2]
int32 GameObjectTemplate::questID |
◆ questID [2/2]
uint32 GameObjectTemplate::questID |
◆ questId [2/2]
int32 GameObjectTemplate::questId |
◆ questList
uint32 GameObjectTemplate::questList |
◆ radius
uint32 GameObjectTemplate::radius |
struct { ... } GameObjectTemplate::raw |
◆ rebuildingEvent
uint32 GameObjectTemplate::rebuildingEvent |
◆ reqParticipants
uint32 GameObjectTemplate::reqParticipants |
◆ returnAura
uint32 GameObjectTemplate::returnAura |
◆ returnSpell
uint32 GameObjectTemplate::returnSpell |
◆ ritualNoTargetCheck
uint32 GameObjectTemplate::ritualNoTargetCheck |
◆ ritualPersistent
uint32 GameObjectTemplate::ritualPersistent |
◆ ScriptId
uint32 GameObjectTemplate::ScriptId |
◆ serverOnly
uint32 GameObjectTemplate::serverOnly |
◆ size
float GameObjectTemplate::size |
◆ slots
uint32 GameObjectTemplate::slots |
◆ spell
uint32 GameObjectTemplate::spell |
struct { ... } GameObjectTemplate::spellcaster |
struct { ... } GameObjectTemplate::spellFocus |
◆ spellId
uint32 GameObjectTemplate::spellId |
◆ startDelay
uint32 GameObjectTemplate::startDelay |
◆ startEventID
uint32 GameObjectTemplate::startEventID |
◆ startingValue
uint32 GameObjectTemplate::startingValue |
◆ startOpen
uint32 GameObjectTemplate::startOpen |
◆ state1Name
uint32 GameObjectTemplate::state1Name |
◆ stealthed
uint32 GameObjectTemplate::stealthed |
◆ stopEventID
uint32 GameObjectTemplate::stopEventID |
struct { ... } GameObjectTemplate::summoningRitual |
◆ taxiPathId
uint32 GameObjectTemplate::taxiPathId |
struct { ... } GameObjectTemplate::text |
struct { ... } GameObjectTemplate::transport |
◆ transportPhysics
uint32 GameObjectTemplate::transportPhysics |
struct { ... } GameObjectTemplate::trap |
struct { ... } GameObjectTemplate::trapDoor |
◆ triggeredEvent
uint32 GameObjectTemplate::triggeredEvent |
◆ type
uint32 GameObjectTemplate::type |
Referenced by ObjectMgr::AddGOData(), CheckAndFixGOChairHeightId(), Spell::CheckCast(), CheckGOConsumable(), CheckGOLinkedTrapId(), CheckGOLockId(), CheckGONoDamageImmuneId(), CheckGOSpellId(), Group::CountTheRoll(), GameObject::Create(), StaticTransport::Create(), Spell::EffectOpenLock(), Spell::EffectTransmitted(), GetAutoCloseTime(), GetCharges(), GetCooldown(), GetDespawnPossibility(), GetEventScriptId(), GetGossipMenuId(), GetLinkedGameObjectEntry(), GetLockId(), GetLootId(), gobject_commandscript::HandleGameObjectAddCommand(), gobject_commandscript::HandleGameObjectInfoCommand(), WorldSession::HandleGameObjectQueryOpcode(), IsDespawnAtAction(), GameObject::IsDestructibleBuilding(), ObjectMgr::IsGameObjectStaticTransport(), IsIgnoringLOSChecks(), IsInfiniteGameObject(), IsLargeGameObject(), GameObject::IsMotionTransport(), GameObject::IsStaticTransport(), GameObject::IsTransport(), IsUsableMounted(), PoolMgr::LoadFromDB(), ObjectMgr::LoadGameobjectQuestEnders(), ObjectMgr::LoadGameobjectQuestStarters(), ObjectMgr::LoadScripts(), Acore::NearestGameObjectFishingHole::operator()(), Acore::GameObjectFocusCheck::operator()(), Player::SendLoot(), BfCapturePoint::SetCapturePointData(), OPvPCapturePoint::SetCapturePointData(), GameObject::TriggeringLinkedGameObject(), GameObject::Update(), UpdateVisibilityOf_helper(), GameObject::Use(), and GameObject::ValidateGameobjectType().
◆ unidirectional
uint32 GameObjectTemplate::unidirectional |
◆ unk1
std::string GameObjectTemplate::unk1 |
◆ whenToPause
uint32 GameObjectTemplate::whenToPause |
◆ winEventID1
uint32 GameObjectTemplate::winEventID1 |
◆ winEventID2
uint32 GameObjectTemplate::winEventID2 |
◆ worldState1
uint32 GameObjectTemplate::worldState1 |
◆ worldstate2
uint32 GameObjectTemplate::worldstate2 |
◆ worldstate3
uint32 GameObjectTemplate::worldstate3 |
◆ WorldStateSetsState
uint32 GameObjectTemplate::WorldStateSetsState |