Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

...

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.

Structure

Field

Type

Attributes

Key

Null

Default

Extra

Comment

guid

74254431

int(10)

unsigned

PRI

NO

NULL

Auto increment

Global Unique Identifier

id

74254431

mediumint(8)

unsigned

 


NO

0

 


Gameobject Identifier

map

74254431

smallint(5)

unsigned

 


NO

0

 


Map Identifier

spawnMask

74254431

tinyint(3)

unsigned

 


NO

1

 

 

phaseMask



74254431

smallint(5)

unsigned

 


NO

1

 

 

position_x



74254431

float

signed

 


NO

0

 

 

position_y



74254431

float

signed

 

position_z


NO

0

 

 



74254431

float

signed

 


NO

0

 

 



74254431

orientation

float

signed

 


NO

0

 

 

rotation0



74254431

float

signed

 


NO

0

 

 

rotation1



74254431

float

signed

 


NO

0

 

 

rotation2



74254431

float

signed

 


NO

0

 

 

rotation3



74254431

float

signed

 


NO

0

 

 

spawntimesecs



74254431

int(11)

signed

 

 


NO

0

 



74254431

animprogress

tinyint(3)

unsigned

 

 


NO

0

 



74254431

state

tinyint(3)

unsigned

 


NO

1

 

 



Description of the fields

...

The global unique identifier for the game object. This field must be unique 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)

id

The template ID of the gameobject. See gameobject_template.entry

map

The map ID where this object is spawned. See Maps.dbc

...

Panel

Just like flags you can add them as you wish so 3 would be: Spawned in 10/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)

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

phaseMask

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.

...