Beispiel #1
0
 internal MultiplayerMatchSession(MultiplayerMatch match, MatchPlayer player)
 {
     this.Match       = match;
     this.MatchPlayer = player;
 }
Beispiel #2
0
 internal void Forfiet()
 {
     this.MatchPlayer = null;
 }
        private void AddHatToPlayer(MatchPlayer player, Hat hat, Color color, bool spawned = true)
        {
            player.AddHat(this.GetNextHatId(), hat, color, spawned);

            this.Clients.SendPacket(new SetPlayerHatsOutgoingMessage(player.SocketId, player.Hats));
        }