CloudWars.SpaceBattle.SpaceBattleClientFeedback.PlayerLost C# (CSharp) Method

PlayerLost() public method

public PlayerLost ( System.Guid playerId, System.Guid matchId ) : void
playerId System.Guid
matchId System.Guid
return void
        public void PlayerLost(Guid playerId, Guid matchId)
        {
            var n = new PlayerNotification { Id = Guid.NewGuid(), MatchId = matchId, PlayerId = playerId, NotificationType = NotificationTypes.PlayerLost };
            CloudWarsData.AddNotification(n);
        }