C# Class CloudWars.SpaceBattle.SpaceBattleClientFeedback

Inheritance: IClientFeedback
Afficher le fichier Open project: pedro-ramirez-suarez/cloudwarsgame

Méthodes publiques

Méthode Description
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

Method Details

ChallengeAccepted() public méthode

public ChallengeAccepted ( System.Guid matchId, System.Guid fromPlayer, System.Guid toPlayer ) : void
matchId System.Guid
fromPlayer System.Guid
toPlayer System.Guid
Résultat void

ChallengePlayer() public méthode

public ChallengePlayer ( System.Guid fromPlayer, System.Guid toPlayer ) : void
fromPlayer System.Guid
toPlayer System.Guid
Résultat void

PlayerLost() public méthode

public PlayerLost ( System.Guid playerId, System.Guid matchId ) : void
playerId System.Guid
matchId System.Guid
Résultat void

PlayerWon() public méthode

public PlayerWon ( System.Guid playerId, System.Guid matchId ) : void
playerId System.Guid
matchId System.Guid
Résultat void

ShotMade() public méthode

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
Résultat void

ShotMissed() public méthode

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
Résultat void

StartMatch() public méthode

public StartMatch ( System.Guid matchId, System.Guid player1, System.Guid player2 ) : void
matchId System.Guid
player1 System.Guid
player2 System.Guid
Résultat void