/* this is set IF they exist in a world that we have loaded */
world_instance *active_world;
int world_match[ k_world_max ];
+ u32 location_pstr; /* TODO: valid if active_world set. */
/* TODO: Compression with server code */
char username[ NETWORK_USERNAME_MAX ];
char items[k_netmsg_playeritem_max][ADDON_UID_MAX];
+ char chat[ NETWORK_MAX_CHAT ];
+ f64 chat_time;
+
+ /* ui */
+ u32 medals[3];
+ f32 opacity;
u32 down_bytes;
f32 down_kbs;
u32 up_bytes;
f32 up_kbs, down_kbs;
f64 last_data_measurement;
+
+ int chatting;
+ char chat_buffer[ NETWORK_MAX_CHAT ], chat_message[ NETWORK_MAX_CHAT ];
+ f64 chat_time;
}
static netplayers;