13 #include "../company_type.h"
14 #include "../timer/timer_game_calendar.h"
15 #include "../economy_type.h"
16 #include "../window_type.h"
20 void ShowNetworkNeedPassword(std::shared_ptr<class NetworkAuthenticationPasswordRequest> request);
22 void ShowJoinStatusWindow();
23 void ShowNetworkGameWindow();
24 void ShowClientList();
25 void ShowNetworkAskRelay(
const std::string &server_connection_string,
const std::string &relay_connection_string,
const std::string &token);
27 void ShowSurveyResultTextfileWindow();
Handling of the list of games.
void ShowNetworkAskRelay(const std::string &server_connection_string, const std::string &relay_connection_string, const std::string &token)
Show a modal confirmation window with "no" / "yes, once" / "yes, always" buttons.
void ShowNetworkChatQueryWindow(DestType type, int dest)
Show the chat window.
NetworkRelayWindowCloseData
@ NRWCD_UNHANDLED
Relay request is unhandled.
@ NRWCD_HANDLED
Relay request is handled, either by user or by timeout.
void ShowNetworkAskSurvey()
Show a modal confirmation window with "no" / "preview" / "yes" buttons.
Types used for networking.
DestType
Destination of our chat messages.
Company information stored at the client side.
Money money
The amount of money the company has.
std::string clients
The clients that control this company (Name1, name2, ..)
uint16_t performance
What was his performance last month?
TimerGameCalendar::Year inaugurated_year
What year the company started in.
bool use_password
Is there a password.
std::string company_name
Company name.
Money company_value
The company value.
Money income
How much did the company earn last year.
Simple calculated statistics of a company.
Templated helper to make a type-safe 'typedef' representing a single POD value.