internal MultiplayerMatchSession(MultiplayerMatch match, MatchPlayer player) { this.Match = match; this.MatchPlayer = player; }
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)); }