C# Class CloudWars.SpaceBattle.SpaceBattleClientFeedback

Inheritance: IClientFeedback
显示文件 Open project: pedro-ramirez-suarez/cloudwarsgame

Public Methods

Method 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 method

public ChallengeAccepted ( System.Guid matchId, System.Guid fromPlayer, System.Guid toPlayer ) : void
matchId System.Guid
fromPlayer System.Guid
toPlayer System.Guid
return void

ChallengePlayer() public method

public ChallengePlayer ( System.Guid fromPlayer, System.Guid toPlayer ) : void
fromPlayer System.Guid
toPlayer System.Guid
return void

PlayerLost() public method

public PlayerLost ( System.Guid playerId, System.Guid matchId ) : void
playerId System.Guid
matchId System.Guid
return void

PlayerWon() public method

public PlayerWon ( System.Guid playerId, System.Guid matchId ) : void
playerId System.Guid
matchId System.Guid
return void

ShotMade() public method

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
return void

ShotMissed() public method

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
return void

StartMatch() public method

public StartMatch ( System.Guid matchId, System.Guid player1, System.Guid player2 ) : void
matchId System.Guid
player1 System.Guid
player2 System.Guid
return void