TrinityCore
GameObjectTypeBase Class Reference

#include <GameObject.h>

+ Inheritance diagram for GameObjectTypeBase:

Classes

class  CustomCommand
 

Public Member Functions

 GameObjectTypeBase (GameObject &owner)
 
virtual ~GameObjectTypeBase ()=default
 
virtual void Update (uint32 diff)
 
virtual void OnStateChanged (GOState oldState, GOState newState)
 
virtual void OnRelocated ()
 
virtual bool IsNeverVisibleFor (WorldObject const *seer, bool allowServersideObjects) const
 
virtual void ActivateObject (GameObjectActions action, int32 param, WorldObject *spellCaster=nullptr, uint32 spellId=0, int32 effectIndex=-1)
 

Protected Attributes

GameObject_owner
 

Detailed Description

Definition at line 62 of file GameObject.h.

Constructor & Destructor Documentation

◆ GameObjectTypeBase()

GameObjectTypeBase::GameObjectTypeBase ( GameObject owner)
inlineexplicit

Definition at line 72 of file GameObject.h.

◆ ~GameObjectTypeBase()

virtual GameObjectTypeBase::~GameObjectTypeBase ( )
virtualdefault

Member Function Documentation

◆ ActivateObject()

virtual void GameObjectTypeBase::ActivateObject ( GameObjectActions  action,
int32  param,
WorldObject spellCaster = nullptr,
uint32  spellId = 0,
int32  effectIndex = -1 
)
inlinevirtual

Reimplemented in GameObjectType::ControlZone.

Definition at line 79 of file GameObject.h.

◆ IsNeverVisibleFor()

virtual bool GameObjectTypeBase::IsNeverVisibleFor ( WorldObject const *  seer,
bool  allowServersideObjects 
) const
inlinevirtual

Reimplemented in GameObjectType::NewFlag.

Definition at line 78 of file GameObject.h.

◆ OnRelocated()

virtual void GameObjectTypeBase::OnRelocated ( )
inlinevirtual

Reimplemented in GameObjectType::Transport.

Definition at line 77 of file GameObject.h.

◆ OnStateChanged()

virtual void GameObjectTypeBase::OnStateChanged ( GOState  oldState,
GOState  newState 
)
inlinevirtual

Reimplemented in GameObjectType::Transport.

Definition at line 76 of file GameObject.h.

◆ Update()

virtual void GameObjectTypeBase::Update ( uint32  diff)
inlinevirtual

Member Data Documentation

◆ _owner

GameObject& GameObjectTypeBase::_owner
protected

Definition at line 82 of file GameObject.h.


The documentation for this class was generated from the following file: