From c681fd4d66521fe6bee35bb2fbd9b5855fca3beb Mon Sep 17 00:00:00 2001 From: Walter Pagani Date: Thu, 7 Jan 2021 10:30:03 -0300 Subject: docs: Converting from HTML to Markdown part #4 (#333) --- docs/gameobject.md | 267 +++++++++-------------------------------------------- 1 file changed, 43 insertions(+), 224 deletions(-) (limited to 'docs/gameobject.md') diff --git a/docs/gameobject.md b/docs/gameobject.md index de03340..a4a0b6d 100644 --- a/docs/gameobject.md +++ b/docs/gameobject.md @@ -8,190 +8,41 @@ This table holds the individual object data on each spawned game object in the w **Structure** - ---------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Field

Type

Attributes

Key

Null

Default

Extra

Comment

guid

int(10)

unsigned

PRI

NO

NULL

Auto increment

Global Unique Identifier

id

mediumint(8)

unsigned

 

NO

0

 

Gameobject Identifier

map

smallint(5)

unsigned

 

NO

0

 

Map Identifier

spawnMask

tinyint(3)

unsigned

 

NO

1

 

 

phaseMask

smallint(5)

unsigned

 

NO

1

 

 

position_x

float

signed

 

NO

0

 

 

position_y

float

signed

 

NO

0

 

 

position_z

float

signed

 

NO

0

 

 

orientation

float

signed

 

NO

0

 

 

rotation0

float

signed

 

NO

0

 

 

rotation1

float

signed

 

NO

0

 

 

rotation2

float

signed

 

NO

0

 

 

rotation3

float

signed

 

NO

0

 

 

spawntimesecs

int(11)

signed

 

NO

0

 

 

animprogress

tinyint(3)

unsigned

 

NO

0

 

 

state

tinyint(3)

unsigned

 

NO

1

 

 

+| Field | Type | Attributes | Key | Null | Default | Extra | Comment | +|---------------------|--------------|------------|-----|------|---------|----------------|--------------------------| +| [guid][1] | int(10) | unsigned | PRI | NO | NULL | Auto increment | Global Unique Identifier | +| [id][2] | mediumint(8) | unsigned | | NO | 0 | | Gameobject Identifier | +| [map][3] | smallint(5) | unsigned | | NO | 0 | | Map Identifier | +| [spawnMask][4] | tinyint(3) | unsigned | | NO | 1 | | | +| [phaseMask][5] | smallint(5) | unsigned | | NO | 1 | | | +| [position_x][6] | float | signed | | NO | 0 | | | +| [position_y][7] | float | signed | | NO | 0 | | | +| [position_z][8] | float | signed | | NO | 0 | | | +| [orientation][9] | float | signed | | NO | 0 | | | +| [rotation0][10] | float | signed | | NO | 0 | | | +| [rotation1][11] | float | signed | | NO | 0 | | | +| [rotation2][12] | float | signed | | NO | 0 | | | +| [rotation3][13] | float | signed | | NO | 0 | | | +| [spawntimesecs][14] | int(11) | signed | | NO | 0 | | | +| [animprogress][15] | tinyint(3) | unsigned | | NO | 0 | | | +| [state][16] | tinyint(3) | unsigned | | NO | 1 | | | + +[1]: #guid +[2]: #id +[3]: #map +[4]: #spawnmask +[5]: #phasemask +[6]: #position_x +[7]: #position_y +[8]: #position_z +[9]: #orientation +[10]: #rotation0 +[11]: #rotation1 +[12]: #rotation2 +[13]: #rotation3 +[14]: #spawntimesecs +[15]: #animprogress +[16]: #state **Description of the fields** @@ -213,45 +64,14 @@ Controls under which difficulties the object is spawned. 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

- +| 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 | ### phaseMask @@ -297,4 +117,3 @@ For chests or doors. - 1 = closed - 0 = open - -- cgit