public override void Execute() { var message = new PingPlayerMessage { Id = PlayerId }; // Send lobby player to client GameServerService.Send(GameServerService.ActiveConnections, MsgStruct.RemoveLobbyPlayer, message); }
public override void Execute() { var message = new LobbyPlayerMessage { Id = MyNetworkPlayer.Id, Name = MyNetworkPlayer.Name }; // Send lobby player to client GameServerService.Send(GameServerService.ActiveConnections, MsgStruct.SendLobbyPlayer, message); }