# 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

# Keyboard shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

# Search tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct` (or `str`), `enum`, `trait`, `typedef` (or `tdef`).

Generated on
© 2010 - 2024 Eluna Lua Engine