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

ChallengeAccepted() public method

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