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