src/network/network.h
changeset 7486 d130c10f4dab
parent 7292 d4cf2baf26ae
child 7683 cd00f3932777
equal deleted inserted replaced
7485:68e3df6c477e 7486:d130c10f4dab
    42 
    42 
    43 struct NetworkPlayerInfo {
    43 struct NetworkPlayerInfo {
    44 	char company_name[NETWORK_NAME_LENGTH];         // Company name
    44 	char company_name[NETWORK_NAME_LENGTH];         // Company name
    45 	char password[NETWORK_PASSWORD_LENGTH];         // The password for the player
    45 	char password[NETWORK_PASSWORD_LENGTH];         // The password for the player
    46 	Year inaugurated_year;                          // What year the company started in
    46 	Year inaugurated_year;                          // What year the company started in
    47 	int64 company_value;                            // The company value
    47 	Money company_value;                            // The company value
    48 	int64 money;                                    // The amount of money the company has
    48 	Money money;                                    // The amount of money the company has
    49 	int64 income;                                   // How much did the company earned last year
    49 	Money income;                                   // How much did the company earned last year
    50 	uint16 performance;                             // What was his performance last month?
    50 	uint16 performance;                             // What was his performance last month?
    51 	bool use_password;                              // Is there a password
    51 	bool use_password;                              // Is there a password
    52 	uint16 num_vehicle[NETWORK_VEHICLE_TYPES];      // How many vehicles are there of this type?
    52 	uint16 num_vehicle[NETWORK_VEHICLE_TYPES];      // How many vehicles are there of this type?
    53 	uint16 num_station[NETWORK_STATION_TYPES];      // How many stations are there of this type?
    53 	uint16 num_station[NETWORK_STATION_TYPES];      // How many stations are there of this type?
    54 	char players[NETWORK_PLAYERS_LENGTH];           // The players that control this company (Name1, name2, ..)
    54 	char players[NETWORK_PLAYERS_LENGTH];           // The players that control this company (Name1, name2, ..)