-
Notifications
You must be signed in to change notification settings - Fork 14
Data Types
Joshua Scott edited this page Oct 8, 2015
·
4 revisions
This is a list of common sendable data types used in the SOE protocol.
| Type | C# | Description |
|---|---|---|
| Boolean | bool | True/False, Yes/No, 1/0. etc |
| UInt8 | byte | A single unsigned byte. Max value of 255. |
| UInt16 | ushort | A unsigned short (2 bytes). Max value of 65,535. |
| UInt32 | uint | A unsigned integer (4 bytes). Max value of 4,294,967,295. |
| UInt64 | ulong | A unsigned long (8 bytes). So big you don't need to worry. |
| Int8 | sbyte | A single signed byte. Max value of 127. |
| Int16 | short | A single signed short (2 bytes). Max value of 32,767. |
| Int32 | int | A single signed integer (4 bytes). Max value of 2,147,483,647. |
| Int64 | long | A single signed long (8 bytes). |
| AString | string | An ASCII encoded string with a UInt32 length at the start. |
| UString | string | A UNICODE encoded string with a UInt32 length at the start. |
| NString | string | A null-terminated string. Ends when the reader reaches a 0x00. |
| Blob | byte[] | A blob is a byte-array with a UInt32 length at the start. |
| Length | N/A |
{ byte l, [byte n, byte[n] b] } If byte l is 0xFF, then the following byte is how many bytes to add onto the first, and then the bytes. For example, FF 01 01 would equal 256. |
Connection Handshake
Data Types
~~. What is a Packet?
01. Session Request
02. Session Response
03. Multi
05. Disconnect
09. Reliable Data
0D. Fragmented Reliable Data
15. Reliable Data Acknowledge
~~. What is a Message?
19. Multi-data
Free Realms (Coming Soon...)
Star Wars Galaxies
Vanguard: Saga of Heroes