C# Class Sanguosha.Core.Network.ClientNetworkProxy

Inheritance: IPlayerProxy
ファイルを表示 Open project: RagingBigFemaleBird/sgs Class Usage Examples

Public Methods

Method Description
AskForCardChoice ( Prompt prompt, List sourceDecks, List resultDeckNames, List resultDeckMaximums, ICardChoiceVerifier verifier, List &answer, AdditionalCardChoiceOptions options = null, CardChoiceRearrangeCallback callback = null ) : bool
AskForCardUsage ( Prompt prompt, ICardUsageVerifier verifier, ISkill &skill, List &cards, List &players ) : bool
AskForMultipleChoice ( Prompt prompt, List questions, int &answer ) : bool
ClientNetworkProxy ( IPlayerProxy uiProxy, Sanguosha.Core.Network.Client client ) : System
Freeze ( ) : void
NextQuestion ( ) : void
SimulateReplayDelay ( ) : void
SkipAskForCardUsage ( ) : void
TryAnswerForCardChoice ( Prompt prompt, ICardChoiceVerifier verifier, List &answer, AdditionalCardChoiceOptions options, CardChoiceRearrangeCallback callback ) : bool
TryAnswerForCardUsage ( Prompt prompt, ICardUsageVerifier verifier, ISkill &skill, List &cards, List &players ) : bool
TryAnswerForMultipleChoice ( int &answer ) : bool
TryAskForCardChoice ( Prompt prompt, List sourceDecks, List resultDeckNames, List resultDeckMaximums, ICardChoiceVerifier verifier, AdditionalCardChoiceOptions options, CardChoiceRearrangeCallback callback ) : void
TryAskForCardUsage ( Prompt prompt, ICardUsageVerifier verifier ) : void
TryAskForMultipleChoice ( Prompt prompt, List questions ) : void

Private Methods

Method Description
GetTimeStamp ( ) : void
RecordTimeStamp ( ) : void

Method Details

AskForCardChoice() public method

public AskForCardChoice ( Prompt prompt, List sourceDecks, List resultDeckNames, List resultDeckMaximums, ICardChoiceVerifier verifier, List &answer, AdditionalCardChoiceOptions options = null, CardChoiceRearrangeCallback callback = null ) : bool
prompt Sanguosha.Core.UI.Prompt
sourceDecks List
resultDeckNames List
resultDeckMaximums List
verifier ICardChoiceVerifier
answer List
options Sanguosha.Core.UI.AdditionalCardChoiceOptions
callback CardChoiceRearrangeCallback
return bool

AskForCardUsage() public method

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

AskForMultipleChoice() public method

public AskForMultipleChoice ( Prompt prompt, List questions, int &answer ) : bool
prompt Sanguosha.Core.UI.Prompt
questions List
answer int
return bool

ClientNetworkProxy() public method

public ClientNetworkProxy ( IPlayerProxy uiProxy, Sanguosha.Core.Network.Client client ) : System
uiProxy IPlayerProxy
client Sanguosha.Core.Network.Client
return System

Freeze() public method

public Freeze ( ) : void
return void

NextQuestion() public method

public NextQuestion ( ) : void
return void

SimulateReplayDelay() public method

public SimulateReplayDelay ( ) : void
return void

SkipAskForCardUsage() public method

public SkipAskForCardUsage ( ) : void
return void

TryAnswerForCardChoice() public method

public TryAnswerForCardChoice ( Prompt prompt, ICardChoiceVerifier verifier, List &answer, AdditionalCardChoiceOptions options, CardChoiceRearrangeCallback callback ) : bool
prompt Sanguosha.Core.UI.Prompt
verifier ICardChoiceVerifier
answer List
options Sanguosha.Core.UI.AdditionalCardChoiceOptions
callback CardChoiceRearrangeCallback
return bool

TryAnswerForCardUsage() public method

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

TryAnswerForMultipleChoice() public method

public TryAnswerForMultipleChoice ( int &answer ) : bool
answer int
return bool

TryAskForCardChoice() public method

public TryAskForCardChoice ( Prompt prompt, List sourceDecks, List resultDeckNames, List resultDeckMaximums, ICardChoiceVerifier verifier, AdditionalCardChoiceOptions options, CardChoiceRearrangeCallback callback ) : void
prompt Sanguosha.Core.UI.Prompt
sourceDecks List
resultDeckNames List
resultDeckMaximums List
verifier ICardChoiceVerifier
options Sanguosha.Core.UI.AdditionalCardChoiceOptions
callback CardChoiceRearrangeCallback
return void

TryAskForCardUsage() public method

public TryAskForCardUsage ( Prompt prompt, ICardUsageVerifier verifier ) : void
prompt Sanguosha.Core.UI.Prompt
verifier ICardUsageVerifier
return void

TryAskForMultipleChoice() public method

public TryAskForMultipleChoice ( Prompt prompt, List questions ) : void
prompt Sanguosha.Core.UI.Prompt
questions List
return void