26void ShowNetworkAskRelay(std::string_view server_connection_string, std::string &&relay_connection_string, std::string &&token);
Callback interface for requests for passwords in the context of network authentication.
StrongType::Typedef< int32_t, struct YearTag< struct Calendar >, StrongType::Compare, StrongType::Integer > Year
Types related to companies.
Types related to the economy.
Handling of the list of games.
NetworkRelayWindowCloseData
Reasons to close the window that opts you in for relaying the network game.
@ NRWCD_UNHANDLED
Relay request is unhandled.
@ NRWCD_HANDLED
Relay request is handled, either by user or by timeout.
void ShowNetworkGameWindow()
Show the server list window.
void ShowJoinStatusWindow()
Open the window showing the status of joining the server.
void ShowSurveyResultTextfileWindow(Window *parent)
Show the surver results as a text file.
void ShowNetworkChatQueryWindow(NetworkChatDestinationType type, int dest)
Show the chat window.
void ShowClientList()
Open the client list window.
void ShowNetworkAskRelay(std::string_view server_connection_string, std::string &&relay_connection_string, std::string &&token)
Show a modal confirmation window with "no" / "yes, once" / "yes, always" buttons.
void ShowNetworkAskSurvey()
Show a modal confirmation window with "no" / "preview" / "yes" buttons.
void ShowNetworkNeedPassword(std::shared_ptr< NetworkAuthenticationPasswordRequest > request)
Update the NetworkJoinStatusWindow to start requesting the server password.
Types used for networking.
NetworkChatDestinationType
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.
Data structure for an opened window.
Definition of the game-calendar-timer.
Types related to windows.