CloudWars.SpaceBattle.SpaceBattleClientFeedback.PlayerWon C# (CSharp) Méthode

PlayerWon() public méthode

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