Avatars
From OpenSimulator
(Difference between revisions)
(Created) |
m (Adjusted spacing between sections of field details) |
||
Line 35: | Line 35: | ||
;<div id="principalID">'''PrincipalID'''</div> | ;<div id="principalID">'''PrincipalID'''</div> | ||
:The UUID of an avatar | :The UUID of an avatar | ||
− | |||
;<div id="name">'''Name'''</div> | ;<div id="name">'''Name'''</div> | ||
Line 59: | Line 58: | ||
:** AvatarType | :** AvatarType | ||
:** Wearable n:m | :** Wearable n:m | ||
− | |||
There can be multiple "Wearable n:m" lines in the table. The value of n | There can be multiple "Wearable n:m" lines in the table. The value of n | ||
Line 66: | Line 64: | ||
of m, if there are multiple attachments to the same body part. Higher values | of m, if there are multiple attachments to the same body part. Higher values | ||
of m represent wearables that are on top of wearables with lower values of m. | of m represent wearables that are on top of wearables with lower values of m. | ||
− | |||
<br /> | <br /> | ||
− | The valid values of n are shown below: | + | The valid values of n for new style wearables are shown below: |
:* 0 for BODY | :* 0 for BODY | ||
:* 1 for SKIN | :* 1 for SKIN | ||
Line 85: | Line 82: | ||
:* 13 for ALPHA | :* 13 for ALPHA | ||
:* 14 for TATTOO | :* 14 for TATTOO | ||
− | |||
;<div id="value">'''Value'''</div> | ;<div id="value">'''Value'''</div> | ||
:The data specific to the named avatar appearance property | :The data specific to the named avatar appearance property | ||
− | |||
− | |||
<br /> | <br /> |
Revision as of 15:04, 11 April 2016
The Avatars table records information about an avatars appearance and wearables (back to Database Documentation)
Avatars Table Structure
The structure of the Avatars table as of v0.7.5-post-fixes is as follows:
Field | Type | Collation | Attributes | Null | Default | Extra |
---|---|---|---|---|---|---|
PrincipalID | char(36) | utf8_general_ci | No | None | ||
Name | varchar(32) | utf8_general_ci | No | None | ||
Value | text | utf8_general_ci | Yes | Null |
Avatars Fields
- PrincipalID
- The UUID of an avatar
- Name
- The name of a wearable, or attachment, property
- Serial
- AvatarHeight - The height of the avatar (in meters)
- Legacy Wearables
- BodyItem
- SkinItem
- HairItem
- EyesItem
- ShirtItem
- PantsItem
- ShoesItem
- SocksItem
- JacketItem
- GlovesItem
- UnderShirtItem
- UnderPantsItem
- SkirtItem
- VisualParams
- New Style Wearables
- AvatarType
- Wearable n:m
There can be multiple "Wearable n:m" lines in the table. The value of n
indicates which body part the wearable is for. The value of m is normally 0.
There will be multiple records with the same value of n, but different values
of m, if there are multiple attachments to the same body part. Higher values
of m represent wearables that are on top of wearables with lower values of m.
The valid values of n for new style wearables are shown below:
- 0 for BODY
- 1 for SKIN
- 2 for HAIR
- 3 for EYES
- 4 for SHIRT
- 5 for PANTS
- 6 for SHOES
- 7 for SOCKS
- 8 for JACKET
- 9 for GLOVES
- 10 for UNDERSHIRT
- 11 for UNDERPANTS
- 12 for SKIRT
- 13 for ALPHA
- 14 for TATTOO
- Value
- The data specific to the named avatar appearance property
(back to Database Documentation)