C# Class Sanguosha.Core.Network.ClientNetworkProxy

Inheritance: IPlayerProxy
Afficher le fichier Open project: RagingBigFemaleBird/sgs Class Usage Examples

Méthodes publiques

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

Méthode Description
GetTimeStamp ( ) : void
RecordTimeStamp ( ) : void

Method Details

AskForCardChoice() public méthode

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

AskForCardUsage() public méthode

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

AskForMultipleChoice() public méthode

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

ClientNetworkProxy() public méthode

public ClientNetworkProxy ( IPlayerProxy uiProxy, Sanguosha.Core.Network.Client client ) : System
uiProxy IPlayerProxy
client Sanguosha.Core.Network.Client
Résultat System

Freeze() public méthode

public Freeze ( ) : void
Résultat void

NextQuestion() public méthode

public NextQuestion ( ) : void
Résultat void

SimulateReplayDelay() public méthode

public SimulateReplayDelay ( ) : void
Résultat void

SkipAskForCardUsage() public méthode

public SkipAskForCardUsage ( ) : void
Résultat void

TryAnswerForCardChoice() public méthode

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

TryAnswerForCardUsage() public méthode

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

TryAnswerForMultipleChoice() public méthode

public TryAnswerForMultipleChoice ( int &answer ) : bool
answer int
Résultat bool

TryAskForCardChoice() public méthode

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

TryAskForCardUsage() public méthode

public TryAskForCardUsage ( Prompt prompt, ICardUsageVerifier verifier ) : void
prompt Sanguosha.Core.UI.Prompt
verifier ICardUsageVerifier
Résultat void

TryAskForMultipleChoice() public méthode

public TryAskForMultipleChoice ( Prompt prompt, List questions ) : void
prompt Sanguosha.Core.UI.Prompt
questions List
Résultat void