OpenSimulator Internals/AvatarService
Appearance
OpenSimulator Internals/AvatarService
[edit]Overview
[edit]AvatarService stores avatar appearance, height, and attached items.
Known Attribute Names
[edit]All appearance data is stored as named key-value pairs. Each attribute is a separate row. Schema is open-ended by design.
| Name | Value format | Notes |
|---|---|---|
| AvatarHeight | float (meters) | e.g. 1.69 |
| AvatarType | int | Only type 1 (LL avatar) implemented in OpenSimulator |
| Serial | int | Incremented on every appearance change |
| VisualParams | comma-separated ints | Base avatar shape parameters passed through from viewer. Do not correspond directly to values in appearance editor. |
| Wearable <p>:<n> | <item-uuid>:<asset-uuid> | Attachment at point p, index n. p = libomv OpenMetaverse.AttachmentPoint enum (e.g. Chest = 1). n = slot index, 0-based. Multiple attachments per point supported. |
Ghost fields in API responses (OpenSimulator 0.7.4 and before): MAXVERSION, MINVERSION, METHOD, and UserID were accidentally serialized into responses and may appear in data from old servers. All can be ignored.
Database
[edit]See Avatars table for the full database schema.