You could use ANet for this. If you send a struct with ANet, it is automatically updated on the receiver. If you want to see if the struct has changed, just send an event after you updated the struct or you could save the content of the struct and check if the content has changed.

Visit: http://www.anet-plugin.com for further informations. The Manual should give you an idea of how a struct can be sent (enet_send_data() is the function you are looking for).


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version