Get (Return) Methods

GetEntry() Returns the entry ID
GetHP() Returns the actual HP
GetMaxHP() Returns the maximum HP
GetName() Get the name
GetObjectType() Returns ‘GameObject’
GetSpawnLocation() Get the Location of a spawned unit

Uncategorized Methods

Activate() Activates/Deactivate a go, f.ex. opens a door
Damage(damage, guid, spellid) Damages the GO if it’s a destructible building, guid is the damaging Unit’s GUID, spellid is the damaging spell.
Rebuild() Rebuilds the GO, if it’s a destructible building. Restores it’s hp to max, and restores it’s displayid to normal.
RemoveFromWorld() Removes the Game Object from the world.