C# Класс CloudWars.SpaceBattle.SpaceBattleClientFeedback

Наследование: IClientFeedback
Показать файл Открыть проект

Открытые методы

Метод Описание
ChallengeAccepted ( System.Guid matchId, System.Guid fromPlayer, System.Guid toPlayer ) : void
ChallengePlayer ( System.Guid fromPlayer, System.Guid toPlayer ) : void
PlayerLost ( System.Guid playerId, System.Guid matchId ) : void
PlayerWon ( System.Guid playerId, System.Guid matchId ) : void
ShotMade ( System.Guid matchId, System.Guid player1, System.Guid player2, int healthAfterAttack, System.Guid unitId, Common coordinates ) : void
ShotMissed ( System.Guid matchId, System.Guid player1, System.Guid player2, Common coordinates ) : void
StartMatch ( System.Guid matchId, System.Guid player1, System.Guid player2 ) : void

Описание методов

ChallengeAccepted() публичный Метод

public ChallengeAccepted ( System.Guid matchId, System.Guid fromPlayer, System.Guid toPlayer ) : void
matchId System.Guid
fromPlayer System.Guid
toPlayer System.Guid
Результат void

ChallengePlayer() публичный Метод

public ChallengePlayer ( System.Guid fromPlayer, System.Guid toPlayer ) : void
fromPlayer System.Guid
toPlayer System.Guid
Результат void

PlayerLost() публичный Метод

public PlayerLost ( System.Guid playerId, System.Guid matchId ) : void
playerId System.Guid
matchId System.Guid
Результат void

PlayerWon() публичный Метод

public PlayerWon ( System.Guid playerId, System.Guid matchId ) : void
playerId System.Guid
matchId System.Guid
Результат void

ShotMade() публичный Метод

public ShotMade ( System.Guid matchId, System.Guid player1, System.Guid player2, int healthAfterAttack, System.Guid unitId, Common coordinates ) : void
matchId System.Guid
player1 System.Guid
player2 System.Guid
healthAfterAttack int
unitId System.Guid
coordinates Common
Результат void

ShotMissed() публичный Метод

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

StartMatch() публичный Метод

public StartMatch ( System.Guid matchId, System.Guid player1, System.Guid player2 ) : void
matchId System.Guid
player1 System.Guid
player2 System.Guid
Результат void