Version 10, last updated by Pilus at July 16, 2011 00:45 UTC
GHI Communication Protocol
A brief overview over the current communication flow between GHI clients and as well describe changes to be implemented along with GHI v.1.1.
Overview of communication areas
The communication in relation to GHI can be parted into the following areas
1. Addon Information
2. Links and item info
3. Trade and item actions
4. View Buffs
5. Cast Buff
6. Area sound
7. Manual Ping
8. Equipment display
1. Addon Information
The addon information is central for identifying other GHI clients aswell as checking if a given person is a GHI user.

2. Links and item info
Linking of items are closely tied together with item info, as the item info needs to be transfered before the link can be parsed.

3. Trade and item actions
Trading of items are tied together with sending of item actions, as the item actions are only of interest to a player who have the items transfered from another player. Trading an item does however also trigger sending of normal item info.
The item action sending could be upgraded by sending item actions for items that are defined as related to this item. E.g. items needed for producing an item.
4. View Buffs
While the buff view is displaying buffs on your target actively, it is not sending requests all the time. Instead it sends a subscribe message and recieve an update with buff info every time the buffs on the target changes. It also sends an update right after subscribing. If the subscribtion time have run out, it resends the subscription.

5. Cast Buff
Casting of buffs on single target aswell as area buff.

6. Area Sound
Sending of area sound. Currently using a special serialization.

7. Manual Ping
Manual pinging of other clients (trough /ghi ping x)

Note: In GHI v.1.1 the flow is the same, but the protocols are renamed to "Ping" and "PingReply"
8. Equipment display
Equipment display, as implemented in GHI v.1.0
