C# Class Sanguosha.Core.UI.AsyncProxyAdapter

Inheritance: IPlayerProxy
Datei anzeigen 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, CardChoiceRearrangeCallback callback ) : bool
AskForCardUsage ( Prompt prompt, ICardUsageVerifier verifier, ISkill &skill, List &cards, List &players ) : bool
AskForMultipleChoice ( Prompt prompt, List questions, int &answer ) : bool
AsyncProxyAdapter ( IAsyncPlayerProxy asyncProxy ) : System
Freeze ( ) : void

Private Methods

Method Description
_GetActualTimeoutSecond ( Sanguosha.Core.UI.UiHelper helper ) : int
proxy_CardChoiceAnsweredEvent ( List cards ) : void
proxy_CardUsageAnsweredEvent ( ISkill skill, List cards, List players ) : void
proxy_MultipleChoiceAnsweredEvent ( int answer ) : void

Method Details

AskForCardChoice() public method

public AskForCardChoice ( Prompt prompt, List sourceDecks, List resultDeckNames, List resultDeckMaximums, ICardChoiceVerifier verifier, List &answer, AdditionalCardChoiceOptions options, CardChoiceRearrangeCallback callback ) : bool
prompt Prompt
sourceDecks List
resultDeckNames List
resultDeckMaximums List
verifier ICardChoiceVerifier
answer List
options AdditionalCardChoiceOptions
callback CardChoiceRearrangeCallback
return bool

AskForCardUsage() public method

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

AskForMultipleChoice() public method

public AskForMultipleChoice ( Prompt prompt, List questions, int &answer ) : bool
prompt Prompt
questions List
answer int
return bool

AsyncProxyAdapter() public method

public AsyncProxyAdapter ( IAsyncPlayerProxy asyncProxy ) : System
asyncProxy IAsyncPlayerProxy
return System

Freeze() public method

public Freeze ( ) : void
return void