| An array consists again of any value type describe | | An array consists again of any value type describe |
| d above. | | d above. |
| | | |
| <array entry value type (1 byte)> <number of e | | <array entry value type (1 byte)> <number of e |
| ntries (1 byte)> 0 <attribute values ...> | | ntries (1 byte)> 0 <attribute values ...> |
| | | |
| | | |
t | | t | # Summary
|
| | |
|
| | | summed up .. this all looks like:
|
| | |
|
| | | Attributes:
|
| | | <attribute name><attribute value>
|
| | |
|
| | |
|
| | | attribute name:
|
| | | <name length 1 byte><name>
|
| | |
|
| | | attribute value:
|
| | | <value type 1 byte><value>
|
| | |
|
| | | value type:
|
| | | 1: string
|
| | | 2: short int -> 4 byte
|
| | | 3: sid -> 16 byte
|
| | | 4: array
|
| | |
|
| | | value type string:
|
| | | <string length 1 byte> 0 <string>
|
| | |
|
| | | value type array
|
| | | <array entry value type 1 byte> <number of |
| | | entries 1 byte> 0 <attribute value>*
|
| | |
|
| | |
|
| | |
|
| # Example implementation | | # Example implementation |
| | | |
| You can look at the [java xfire library i began to | | You can look at the [java xfire library i began to |
| write](http://yourhell.com/svn/xfirelib/trunk/net | | write](http://yourhell.com/svn/xfirelib/trunk/net |
| .sphene.xfirelib/src/net/sphene/xfirelib/packets/X | | .sphene.xfirelib/src/net/sphene/xfirelib/packets/X |
| fireRecvPacket.java). | | fireRecvPacket.java). |
| | | |