The `gameobject` table
This table holds the individual object data on each spawned game object in the world. This data along with the object's template data is read and used to instantiate the objects in the world.
Description of the fields
The global unique identifier for the game object. This field must be unique among all game objects.
The template ID of the gameobject. See gameobject_template.entry
The map ID where this object is spawned. See Maps.dbc
Controls under which difficulties the object is spawned.
Spawned only in 10-man-normal versions of maps (includes maps without a heroic mode)
Spawned only in 25-man-normal versions of maps (or heroics pre 3.2)
Spawned only in 10-man heroic versions of maps
Spawned only in 25-man-heroic versions of maps
Spawned in all versions of maps
For 6.x read spawnmask 6.x
This is a bitmask field that describes all the phases that this gameobject will appear in. Aura 261 determines the phase you can see. For example, if you had this aura http://www.wowhead.com/?spell=55782, you would be able to see gameobjects in phase 2. If you wanted the gameobject to be visible in both phase 1 and phase 2, you would set the phaseMask to 3.
The X position.
The Y position.
The Z position.
The orientation. (North = 0, South = 3.14159)
Time in seconds for this object to respawn.
Using a negative value will result in the object starting out by being "despawned" until a script will spawn it. It will then despawn after the amount of time specified here has passed.
Not really known what this is used for at this time. However, always set it to 100 for chests.
For chests or doors.