mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
possibility to change name
This commit is contained in:
@@ -499,6 +499,14 @@ void CServerHandler::setPlayer(PlayerColor color) const
|
||||
sendLobbyPack(lsp);
|
||||
}
|
||||
|
||||
void CServerHandler::setPlayerName(PlayerColor color, std::string name) const
|
||||
{
|
||||
LobbySetPlayerName lspn;
|
||||
lspn.color = color;
|
||||
lspn.name = name;
|
||||
sendLobbyPack(lspn);
|
||||
}
|
||||
|
||||
void CServerHandler::setPlayerOption(ui8 what, int32_t value, PlayerColor player) const
|
||||
{
|
||||
LobbyChangePlayerOption lcpo;
|
||||
|
||||
Reference in New Issue
Block a user