diff --git a/Network.PropertyList.md b/Network.PropertyList.md index 870dc87..453336e 100644 --- a/Network.PropertyList.md +++ b/Network.PropertyList.md @@ -1,33 +1,64 @@ A PropertyList is a list of properties assigned to objects. +| Name | Type | Required | Description | +| ---- | ---- | :------: | :---------- | +| ID | Byte | ✗ | Identifies the variable the property is for. | +| Flag | Byte | ✗ | Refers to what purpose the property is for. | +| Access | Byte | ✗ | Defines the type of access. | +| Value | String \| Bytes | ✗ | | + +### ID | ID | Server | Client | Name | Description | | -: | :----: | :----: | :--- | :---------- | -| 1 | ✗ | | APPNAME | Defines the name of the application. | -| 2 | ✗ | ✗ | USERNAME | Account username. | -| 3 | ✗ | ✗ | PROTOCOL | Supported protocol version. | -| 4 | ✗ | | ERROR | The error returned. | -| 5 | | ✗ | CHANNEL | Dimension to switch to. | -| 5 | ✗ | ✗ | BITMAP | Avatar to display. | -| 6 | ✗ | ✗ | PASSWORD | Account password. | -| 7 | ✗ | ✗ | AVATARS | Number of drones to display nearby. | -| 8 | ✗ | ? | UPDATETIME | Last time updated. | -| 9 | | ✗ | CLIENT | Client version. | -| 10 | ✗ | ✗ | SERIAL | User account serial. | -| 11 | ✗ | ✗ | EMAIL | User account email. | -| 12 | ✗ | ✗ | LOGONOFF | Force logging on or logging off. | -| 13 | ✗ | | DURATION | Amount of time allowed online. | -| 14 | | ✗ | GUEST | Log in as a guest. | -| 15 | ✗ | | SERVERTYPE | Authentication type for server. | -| 16 | ✗ | ✗ | BIZCARD | Dynamic server object with lines of text. | -| 20 | ✗ | ✗ | NEW_PASSWD | New password for user account. | -| 22 | ✗ | ✗ | PRIV | Account Privileges. | -| 23 | ✗ | ✗ | ASLEEP | Inactive or AFK (Away From Keyboard). | -| 24 | ✗ | | EXTERNAL_HTTP_SERVER | Defines an external HTTP server for content. | -| 25 | ✗ | | SCRIPT_SERVER | Defines server to get scripts from. | -| 26 | ✗ | | SMTP_SERVER | Defines server to use for outgoing mail (SMTP)/ | -| 27 | ✗ | | MAIL_DOMAIN | Defines domain to use for mail. | -| 28 | ✗ | ✗ | NEW_USERNAME | New username for user account. | -| 29 | ✗ | | INTERNAL_HTTP_SERVER | Defines an internal/local HTTP server for content. | -| 32 | ✗ | | INVENTORY | Items available in inventory. | +| 1 | ✗ | | [APPNAME](Network.PROP_APPNAME) | Defines the name of the application. | +| 2 | ✗ | ✗ | [USERNAME](Network.PROP_USERNAME) | Account username. | +| 3 | ✗ | ✗ | [PROTOCOL](Network.PROP_PROTOCOL) | Supported protocol version. | +| 4 | ✗ | | [ERROR](Network.PROP_ERROR) | The error returned. | +| 5 | | ✗ | [CHANNEL](Network.PROP_CHANNEL) | Dimension to switch to. | +| 5 | ✗ | ✗ | [BITMAP](Network.PROP_BITMAP) | Avatar to display. | +| 6 | ✗ | ✗ | [PASSWORD](Network.PROP_PASSWORD) | Account password. | +| 7 | ✗ | ✗ | [AVATARS](Network.PROP_AVATARS) | Number of drones to display nearby. | +| 8 | ✗ | | [UPDATETIME](Network.PROP_UPDATETIME) | Last time updated. | +| 9 | | ✗ | [CLIENT](Network.PROP_CLIENT) | Client version. | +| 10 | ✗ | ✗ | [SERIAL](Network.PROP_SERIAL) | User account serial. | +| 11 | ✗ | ✗ | [EMAIL](Network.PROP_EMAIL) | User account email. | +| 12 | ✗ | ✗ | [LOGONOFF](Network.PROP_LOGONOFF) | Force logging on or logging off. | +| 13 | ✗ | | [DURATION](Network.PROP_DURATION) | Amount of time allowed online. | +| 14 | | ✗ | [GUEST](Network.PROP_GUEST) | Log in as a guest. | +| 15 | ✗ | | [SERVERTYPE](Network.PROP_SERVERTYPE) | Authentication type for server. | +| 16 | ✗ | ✗ | [BIZCARD](Network.PROP_BIZCARD) | Dynamic server object with lines of text. | +| 20 | ✗ | ✗ | [NEW_PASSWD](Network.PROP_NEW_PASSWD) | New password for user account. | +| 22 | ✗ | ✗ | [PRIV](Network.PROP_PRIV) | Account privileges and active plan. Used for VIP. | +| 23 | ✗ | ✗ | [ASLEEP](Network.PROP_ASLEEP) | Inactive or AFK (Away From Keyboard). | +| 24 | ✗ | | [EXTERNAL_HTTP_SERVER](Network.PROP_EXTERNAL_HTTP_SERVER) | Defines an external HTTP server for content. | +| 25 | ✗ | | [SCRIPT_SERVER](Network.PROP_SCRIPT_SERVER) | Defines server to get scripts from. | +| 26 | ✗ | | [SMTP_SERVER](Network.PROP_SMTP_SERVER) | Defines server to use for outgoing mail (SMTP)/ | +| 27 | ✗ | | [MAIL_DOMAIN](Network.PROP_MAIL_DOMAIN) | Defines domain to use for mail. | +| 28 | ✗ | ✗ | [NEW_USERNAME](Network.PROP_NEW_USERNAME) | New username for user account. | +| 29 | ✗ | | [INTERNAL_HTTP_SERVER](Network.PROP_INTERNAL_HTTP_SERVER) | Defines an internal/local HTTP server for content. | +| 32 | ✗ | | [INVENTORY](Network.PROP_INVENTORY) | Items available in inventory. | -## OldPropertyList \ No newline at end of file +### Flags +Flags are one byte and specify the property type. +| Flag | Name | Description | +| ---: | ---- | ----------- | +| 0 | None | NOOP | +| 16 | Binary | The value is transmitted the same way as a String but is parsed in bytes. | +| 32 | Finger | Handles dynamic objects in shared server states. | +| 64 | AutoUpdate | Unsure of exact purpose, but is used often for avatar changes and sleep. | +| 128 | DBStore | Unsure of exact purpose, but is used often for avatar changes and sleep. | + +### Access +| Access | Name | Description | +| -----: | ---- | ----------- | +| 0 | None | NOOP | +| 1 | Possess | The object the property refers to possesses access. | +| 2 | Private | Only for the client. | + +## OldPropertyList +OldPropertyList is an older form of PropertyList that lacks the flag and access bytes, consisting of only properties with a type and value. + +| Name | Type | Required | Description | +| ---- | ---- | :------: | :---------- | +| ID | Byte | ✗ | Identifies the variable the property is for. | +| Value | String | ✗ | | \ No newline at end of file