Xfire Protocol Documentation

XfireProtocol

Back to Snip <-- Previous Change | Next Change -->

Diff Summary
Title
Date 2008-02-23 21:08:59 2008-02-23 21:10:51
Editor Herbert Poul Herbert Poul
Tags

2008-02-23 21:08:59 by Herbert Poul
2008-02-23 21:10:51 by Herbert Poul
66An array consists again of any value type describe66An array consists again of any value type describe
>d above.>d above.
6767
68    <array entry value type (1 byte)> <number of e68    <array entry value type (1 byte)> <number of e
>ntries (1 byte)> 0 <attribute values ...>>ntries (1 byte)> 0 <attribute values ...>
6969
7070
tt71# Summary
72
73summed up .. this all looks like:
74
75    Attributes:
76        <attribute name><attribute value>
77
78
79    attribute name:
80        <name length 1 byte><name>
81
82    attribute value:
83        <value type 1 byte><value>
84
85    value type:
86        1: string
87        2: short int -> 4 byte
88        3: sid -> 16 byte
89        4: array
90
91    value type string:
92        <string length 1 byte> 0 <string>
93
94    value type array
95        <array entry value type 1 byte> <number of
 > entries 1 byte> 0 <attribute value>*
96
97
98
71# Example implementation99# Example implementation
72100
73You can look at the [java xfire library i began to101You 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).
74102

Personal website and blog of Herbert Poul. Also check out my Photo Gallery.




Herby's Photo Gallery

Subscriptions

User

You are not logged in.
Login
Register