-
Notifications
You must be signed in to change notification settings - Fork 4
DML Syntax
Joshua Scott edited this page Oct 1, 2018
·
2 revisions
A DML Record can be represented as XML, and is seen this way in Message Modules and various configuration and internal files in both Wizard101 and Pirate101. Every Record presented in this manner starts with a <RECORD> element.
Each child element inside a <RECORD> element defines a Field. A Field must at least define a data type via the TYPE attribute. Optionally, you may also specify a NOXFER attribute, which controls whether or not to "transfer" the field into a binary representation when it is being serialized/deserialized. A value can also be specified as a text node inside the element.
For a list of valid data types, see DML Data Types.
<RECORD>
<_Opcode TYPE="USHRT" NOXFER="TRUE">1</_Opcode>
<Name TYPE="STR"></Name>
<Age TYPE="UBYT"></Age>
</RECORD>Note: This example is not representative of any data from either Wizard101 or Pirate101.
- Introduction
- Data Markup Language (DML)
- Property Class System
- Work in Progress
- KingsIsle Networking Protocol (KINP)
- Sessions
- Message Framing
- Message Structure
- Control Messages
- DML Messages