Versiones comparadas

Clave

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


Back-to:World

Panel

The `areatrigger_template` table

This table contains the description of areatrigger.

Panel

Structure

...

Field

...

Type

...

Attributes

...

Key

...

Null

...

Default

...

Extra

...

Comment

...

187498508

...

int(10)

...

unsigned

...

PRI

...

NO

...

Identifier

...

187498508

...

tinyint(3)

...

unsigned

...

NO

...

0

...

187498508

...

int(10)

...

unsigned

...

NO

...

0

...

float

...

signed

...

NO

...

0

...

float

...

signed

...

NO

...

0

...

float

...

signed

...

NO

...

0

...

float

...

signed

...

NO

...

0

...

187498508

...

int(10)

...

signed

...

YES

...

0

Panel

Description of the fields

Id

IsServerSide

Type

...

Flags

...

Data0-5

The content of the data fields depends on the areatrigger type

AREATRIGGER_TYPE_SPHERE = 0

  • Data0: Radius
  • Data1: RadiusTarget

AREATRIGGER_TYPE_BOX = 1

  • Data0: ExtentsX
  • Data1: ExtentsY
  • Data2: ExtentsZ
  • Data3: ExtentsTargetX
  • Data4: ExtentsTargetY
  • Data5: ExtentsTargetZ

AREATRIGGER_TYPE_POLYGON = 3

  • Data0: Height
  • Data1: HeightTarget

AREATRIGGER_TYPE_CYLINDER = 4

  • Data0: Radius
  • Data1: RadiusTarget
  • Data2: Height
  • Data3: HeightTarget
  • Data4: LocationZOffset
  • Data5: LocationZOffsetTarget

ScriptName

Name of the script this object uses if needed

VerifiedBuild

This field is used by the TrinityDB Team to determine whether a template has been verified from WDB files.

If value is 0 then it has not been parsed yet.

If value is above 0 then it has been parsed with WDB files from that specific client build.

If value is -1 then it is just a place holder until proper data are found on WDBs.

...

Info
titleThis article has been moved

You can find it in our new wiki at: https://trinitycore.info/database/master/world/areatrigger_template