Class GameObject [-] [+]
Inherits all methods from: Object, WorldObject
Methods
| AddAllowedLooterForAllSlots |
Adds a Player to the allowed looters for all items |
| AddAllowedLooterForItem |
Adds a Player to the allowed looters for the specified item |
| AddAllowedLooterForSlot |
Adds a Player to the allowed looters for the specified slot |
| AddLootStoreItem |
Adds an item to the GameObject's loot. |
| Despawn |
Despawns a GameObject |
| GetDBTableGUIDLow |
Returns the guid of the GameObject that is used as the ID in the database |
| GetDisplayId |
Returns display ID of the GameObject |
| GetGoState |
Returns the state of a GameObject Below are client side [GOState]s off of 3.3.5a |
| GetLootItemCount |
Returns the GameObject's number of loot items. |
| GetLootItemInSlot |
Returns the item entry in the specified slot |
| GetLootRecipient |
Returns the Player that can loot the GameObject |
| GetLootRecipientGroup |
Returns the Group that can loot the GameObject |
| GetLootState |
Returns the [LootState] of a GameObject Below are [LootState]s off of 3.3.5a |
| GetOwner |
Returns the GameObject's owner. |
| HasQuest |
Returns 'true' if the GameObject can give the specified Quest |
| IsActive |
Returns 'true' if the GameObject is active |
| IsDestructible |
Returns true if the GameObject is a destructible, false otherwise. |
| IsLooted |
Returns 'true' if the GameObject is looted |
| IsSpawned |
Returns 'true' if the GameObject is spawned |
| IsTransport |
Returns 'true' if the GameObject is a transport |
| RemoveFromWorld |
Removes GameObject from the world |
| Respawn |
Respawns a GameObject |
| SaveToDB |
Saves GameObject to the database |
| SetGoState |
Sets the state of a GameObject |
| SetLootRecipient |
Sets the Player that can loot the GameObject |
| SetLootRecipientGroup |
Sets the GameObject's loot receipient group GUID |
| SetLootState |
Sets the [LootState] of a GameObject Below are [LootState]s off of 3.3.5a |
| SetOwnerGUID |
Sets the GameObject's owner GUID |
| UseDoorOrButton |
Activates a door or a button/lever |