90 char players[NETWORK_PLAYERS_LENGTH]; // The players that control this company (Name1, name2, ..) |
90 char players[NETWORK_PLAYERS_LENGTH]; // The players that control this company (Name1, name2, ..) |
91 uint16 months_empty; // How many months the company is empty |
91 uint16 months_empty; // How many months the company is empty |
92 } NetworkPlayerInfo; |
92 } NetworkPlayerInfo; |
93 |
93 |
94 typedef struct NetworkClientInfo { |
94 typedef struct NetworkClientInfo { |
95 uint16 client_index; // Index of the client (same as ClientState->index) |
95 uint16 client_index; /// Index of the client (same as ClientState->index) |
96 char client_name[NETWORK_CLIENT_NAME_LENGTH]; // Name of the client |
96 char client_name[NETWORK_CLIENT_NAME_LENGTH]; /// Name of the client |
97 byte client_lang; // The language of the client |
97 byte client_lang; /// The language of the client |
98 byte client_playas; // As which player is this client playing |
98 byte client_playas; /// As which player is this client playing (PlayerID) |
99 uint32 client_ip; // IP-address of the client (so he can be banned) |
99 uint32 client_ip; /// IP-address of the client (so he can be banned) |
100 uint16 join_date; // Gamedate the player has joined |
100 uint16 join_date; /// Gamedate the player has joined |
101 char unique_id[NETWORK_NAME_LENGTH]; // Every play sends an unique id so we can indentify him |
101 char unique_id[NETWORK_NAME_LENGTH]; /// Every play sends an unique id so we can indentify him |
102 } NetworkClientInfo; |
102 } NetworkClientInfo; |
103 |
103 |
104 typedef struct NetworkGameList { |
104 typedef struct NetworkGameList { |
105 NetworkGameInfo info; |
105 NetworkGameInfo info; |
106 uint32 ip; |
106 uint32 ip; |