public ShotMissed ( System.Guid matchId, System.Guid player1, System.Guid player2, Common coordinates ) : void | ||
matchId | System.Guid | |
player1 | System.Guid | |
player2 | System.Guid | |
coordinates | Common | |
Результат | void |
public void ShotMissed(Guid matchId, Guid player1, Guid player2, Common.Other.Position coordinates)
{
var n = new PlayerNotification { Id = Guid.NewGuid(), MatchId = matchId, PlayerId = player1, OtherPlayer = player2, Row = coordinates.Row, Col = coordinates.Column, NotificationType = NotificationTypes.ShotMissed};
CloudWarsData.AddNotification(n);
}