Date: Fri, 29 Mar 2024 07:52:41 +0000 (UTC) Message-ID: <2073932014.79.1711698761368@bff70d5381a9> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_78_999006891.1711698761368" ------=_Part_78_999006891.1711698761368 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
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 u= sed to instantiate the objects in the world.
Structure
Field |
Type |
Attributes |
Key |
Null |
Default |
Extra |
Comment |
int(10) |
unsigned |
PRI |
NO |
NULL |
Auto increment |
Global Unique Identifier |
|
mediumint(8) |
unsigned |
|
NO |
0 |
|
Gameobject Identifier |
|
smallint(5) |
unsigned |
|
NO |
0 |
|
Map Identifier |
|
tinyint(3) |
unsigned |
|
NO |
1 |
|
|
|
smallint(5) |
unsigned |
|
NO |
1 |
|
|
|
float |
signed |
|
NO |
0 |
|
|
|
float |
signed |
|
NO |
0 |
|
|
|
float |
signed |
|
NO |
0 |
|
|
|
<= /td> |
float |
signed |
|
NO |
0 |
|
|
float |
signed |
|
NO |
0 |
|
|
|
float |
signed |
|
NO |
0 |
|
|
|
float |
signed |
|
NO |
0 |
|
|
|
float |
signed |
|
NO |
0 |
|
|
|
gameobject#spawntimesecs<= /p> |
int(11) |
signed |
|
NO |
0 |
|
|
tinyint(3) |
unsigned |
|
NO |
0 |
|
|
|
tinyint(3) |
unsigned |
|
NO |
1 |
|
|
Description of the fields
The global unique identifier for the game object. This field must be uni= que among all game objects.
guid ranges:
1.x - 3.3.5 (Vanilla - Wrath=
of the Lich King)
1 - 199999
4.x (Cataclysm)
200000 - 299999
6.x (Warlords of Draenor)
300000 - 399999
7.x (Legion)
400000 - 499999
8.x (Battle for Azeroth)
500000 - 599999
9.x (Shadowlands)
600000- (specified later)
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.
Just like flags you can add them as you wish so 3 would be: Spawned in 1= 0/25 man normal versions of maps (pre 3.2 all maps)
Value |
Comment |
---|---|
0 |
Not spawned |
1 |
Spawned only in 10-man-normal versions of maps (includes maps without a = heroic mode) |
2 |
Spawned only in 25-man-normal versions of maps (or heroics pre 3.2) <= /td> |
4 |
Spawned only in 10-man heroic versions of maps |
8 |
Spawned only in 25-man-heroic versions of maps |
15 |
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 gameobje= ct will appear in. Aura 261 determines the phase you can see. For example, = if you had this aura http://www.wowhead.com/?spell=3D55782<= /a>, you would be able to see gameobjects in phase 2. If you wanted the gam= eobject to be visible in both phase 1 and phase 2, you would set the phaseM= ask to 3.
The X position.
The Y position.
The Z position.
The orientation. (North =3D 0, South =3D 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 amo= unt 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.