跳至内容
AzerothCore 中文
用户工具
登录
站点工具
搜索
工具
显示页面
修订记录
反向链接
最近更改
媒体管理器
网站地图
登录
>
最近更改
媒体管理器
网站地图
您的足迹:
数据库:characters数据库:character_pet
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
====== character_pet 表 ====== ---- [[数据库:characters数据库:首页|<-返回:Characters 数据库]] This table holds the pet data for each pet summoned by anyone in the game. **表结构** ^Field^Type^Attributes^Key^Null^Default^extra^Comment^ |[[#id|id]]|INT|UNSIGNED|PRI|NO|0| | | |[[#entry|entry]]|INT|UNSIGNED| |NO|0| | | |[[#owner|owner]]|INT|UNSIGNED| |NO|0| | | |[[#modelid|modelid]]|INT|UNSIGNED| |YES|0| | | |[[#CreatedBySpell|CreatedBySpell]]|MEDIUMINT|UNSIGNED| |NO|0| | | |[[#PetType|PetType]]|TINYINT|UNSIGNED| |NO|0| | | |[[#level|level]]|SMALLINT|UNSIGNED| |NO|0| | | |[[#exp|exp]]|INT|UNSIGNED| |NO|1| | | |[[#Reactstate|Reactstate]]|TINYINT|UNSIGNED| |NO|0| | | |[[#name|name]]|VARCHAR(21)|SIGNED| |NO|0| | | |[[#renamed|renamed]]|TINYINT|UNSIGNED| |NO|Pet| | | |[[#slot|slot]]|TINYINT|UNSIGNED| |NO|0| | | |[[#curhealth|curhealth]]|INT|UNSIGNED| |NO|0| | | |[[#curmana|curmana]]|INT|UNSIGNED| |NO|1| | | |[[#curhappiness|curhappiness]]|INT|UNSIGNED| |NO|0| | | |[[#savetime|savetime]]|INT|UNSIGNED| |NO|0| | | |[[#abdata|abdata]]|TEXT|SIGNED| |YES|0| | | ===== 字段说明 ===== ---- ==== id ==== The special pet ID. This is a unique identifier among all pets. ==== entry ==== The creature entry of this pet. See creature_template.entry. ==== owner ==== The GUID of the pet's owner. See characters.guid. ==== modelid ==== The model ID to use to display the pet. ==== CreatedBySpell ==== The ID of the spell that has created this pet. For hunters, this is usually the Tame Beast spell. For warlocks or other classes (mages), it is the spell ID that summoned the creature. See Spell.dbc column 1. ==== PetType ==== The type of pet that this is. 0 = summoned pet, 1 = tamed pet ==== level ==== The current level of the pet. ==== exp ==== The current experience that this pet has. For summoned pets, this field is always 0. ==== Reactstate ==== The current reaction state of the pet (passive, aggressive, etc). ==== name ==== The pet's name. ==== renamed ==== Boolean 1 or 0. 1 = Pet has been renamed, 0 = Pet has never been renamed and still uses the same name as the creature that was tamed. ==== slot ==== * The pet slot that the pet is in. * The slot is 0 for the active pet, which is with the player; * 1-4 for pets in stable (slot 1-4) * 100 for a pet which is with the player but currently dismissed. ==== curhealth ==== The current pet health at the time it was saved to DB. ==== curmana ==== The current pet mana at the time it was saved to DB. ==== curhappiness ==== The current pet happiness. ==== savetime ==== The time when the pet was last saved, in Unix time. ==== abdata ==== field-no-description|17
数据库/characters数据库/character_pet.txt
· 最后更改: 2023/09/24 11:03 由
admin
页面工具
显示页面
修订记录
反向链接
回到顶部