From a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 Mon Sep 17 00:00:00 2001 From: FrancescoBorzi Date: Mon, 25 Feb 2019 19:24:20 +0100 Subject: Import DB wiki from TC 335 --- docs/creature_respawn.md | 86 +++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 78 insertions(+), 8 deletions(-) (limited to 'docs/creature_respawn.md') diff --git a/docs/creature_respawn.md b/docs/creature_respawn.md index 280569c..5a9f780 100644 --- a/docs/creature_respawn.md +++ b/docs/creature_respawn.md @@ -1,8 +1,78 @@ -[Database Structure](Database-Structure) > [Character-Database](Character-Database) > [creature_respawn](creature_respawn) - -Column | Type | Description ---- | --- | --- -Guid | int(10) unsigned | -RespawnTime | int(10) unsigned | -MapId | smallint(10) unsigned | -InstanceId | int(10) unsigned | +# creature\_respawn + +`Back-to:Characters` + +**The \`creature\_respawn\` table** + +This table holds the respawn time when creatures should be respawned in the world. In case of a server crash, this table holds the respawn data so that the creatures don't respawn immediately on server restart. How often the respawn time is saved for creatures can be controlled in TrinityCore.conf at SaveRespawnTimeImmediately. + +**Structure** + + ++++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Field

Type

Attributes

Key

Null

Default

Extra

Comment

guid

int(10)

unsigned

PRI

NO

0

 

Global Unique Identifier

respawntime

int(10)

unsigned

 

NO

0

 

 

instance

int(10)

unsigned

PRI

NO

0

 

Instance Identifier

+ +**Description of the fields** + +### guid + +The GUID of the creature. See creature.guid + +### respawntime + +The time when the creature should be respawned in Unix time. + +### instance + +If the creature was killed in an instance, this field holds the instance ID where this creature should be respawned. Each instance is different depending on the group so this field is vital in keeping track of which creatures should be respawned for which players at what time. -- cgit