C# Class Sanguosha.Core.Network.GlobalServerProxy

Inheritance: IGlobalUiProxy
Datei anzeigen Open project: RagingBigFemaleBird/sgs Class Usage Examples

Public Methods

Method Description
Abort ( ) : void
AskForCardUsage ( Prompt prompt, ICardUsageVerifier verifier, ISkill &skill, List &cards, List &players, Player &respondingPlayer ) : bool
AskForHeroChoice ( Dictionary restDraw, Dictionary heroSelection, int numberOfHeroes, ICardChoiceVerifier verifier ) : void
AskForMultipleCardUsage ( Prompt prompt, ICardUsageVerifier verifier, List players, ISkill>.Dictionary &askill, Dictionary &acards, Dictionary &aplayers ) : void
AskForMultipleChoice ( Prompt prompt, List questions, List players, int>.Dictionary &aanswer ) : void
GlobalServerProxy ( Game g, IPlayerProxy>.Dictionary p ) : System

Private Methods

Method Description
ChoiceProxyListenerThread ( ChoiceListenerThreadParameters para ) : void
MultiMCQProxyListenerThread ( MCQListenerThreadParameters para ) : void
MultiUsageProxyListenerThread ( UsageListenerThreadParameters para ) : void
UsageProxyListenerThread ( UsageListenerThreadParameters para ) : void

Method Details

Abort() public method

public Abort ( ) : void
return void

AskForCardUsage() public method

public AskForCardUsage ( Prompt prompt, ICardUsageVerifier verifier, ISkill &skill, List &cards, List &players, Player &respondingPlayer ) : bool
prompt Sanguosha.Core.UI.Prompt
verifier ICardUsageVerifier
skill ISkill
cards List
players List
respondingPlayer Sanguosha.Core.Players.Player
return bool

AskForHeroChoice() public method

public AskForHeroChoice ( Dictionary restDraw, Dictionary heroSelection, int numberOfHeroes, ICardChoiceVerifier verifier ) : void
restDraw Dictionary
heroSelection Dictionary
numberOfHeroes int
verifier ICardChoiceVerifier
return void

AskForMultipleCardUsage() public method

public AskForMultipleCardUsage ( Prompt prompt, ICardUsageVerifier verifier, List players, ISkill>.Dictionary &askill, Dictionary &acards, Dictionary &aplayers ) : void
prompt Sanguosha.Core.UI.Prompt
verifier ICardUsageVerifier
players List
askill ISkill>.Dictionary
acards Dictionary
aplayers Dictionary
return void

AskForMultipleChoice() public method

public AskForMultipleChoice ( Prompt prompt, List questions, List players, int>.Dictionary &aanswer ) : void
prompt Sanguosha.Core.UI.Prompt
questions List
players List
aanswer int>.Dictionary
return void

GlobalServerProxy() public method

public GlobalServerProxy ( Game g, IPlayerProxy>.Dictionary p ) : System
g Sanguosha.Core.Games.Game
p IPlayerProxy>.Dictionary
return System