Feature: [Network] Ensure players fill in a name instead of defaulting to "Player"

This commit is contained in:
rubidium42
2021-04-22 08:01:52 +02:00
committed by rubidium42
parent 5202869f0f
commit bfb0ab3e2f
5 changed files with 48 additions and 5 deletions

View File

@@ -37,6 +37,8 @@ extern StringList _network_ban_list;
byte NetworkSpectatorCount();
bool NetworkIsValidClientName(const char *client_name);
bool NetworkValidateClientName();
bool NetworkValidateClientName(char *client_name);
void NetworkUpdateClientName();
bool NetworkCompanyHasClients(CompanyID company);
const char *NetworkChangeCompanyPassword(CompanyID company_id, const char *password);