Feature: authorize specific clients to join network company without password

This commit is contained in:
Rubidium
2024-03-23 13:38:37 +01:00
committed by rubidium42
parent 66354ab9eb
commit 4f3db8eeaf
8 changed files with 47 additions and 1 deletions

View File

@@ -75,6 +75,7 @@ void NetworkServerNewCompany(const Company *company, NetworkClientInfo *ci);
bool NetworkServerChangeClientName(ClientID client_id, const std::string &new_name);
bool NetworkCanJoinCompany(CompanyID company_id);
void NetworkServerDoMove(ClientID client_id, CompanyID company_id);
void NetworkServerSendRcon(ClientID client_id, TextColour colour_code, const std::string &string);
void NetworkServerSendChat(NetworkAction action, DestType type, int dest, const std::string &msg, ClientID from_id, int64_t data = 0, bool from_admin = false);