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);
}