C# Class Sanguosha.Core.Network.ServerNetworkProxy

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, CardChoiceRearrangeCallback callback ) : bool
AskForCardUsage ( Prompt prompt, ICardUsageVerifier verifier, ISkill &skill, List &cards, List &players ) : bool
AskForMultipleChoice ( Prompt prompt, List questions, int &answer ) : bool
Freeze ( ) : void
NextQuestion ( ) : void
SendCardChoice ( ICardChoiceVerifier verifier, List answer, AdditionalCardChoiceOptions options ) : void
SendCardUsage ( ISkill skill, List cards, List players, ICardUsageVerifier verifier ) : void
SendMultipleCardUsageResponded ( Player player ) : void
SendMultipleChoice ( int answer ) : void
ServerNetworkProxy ( Server s, int id ) : System
TryAskForCardChoice ( List sourceDecks, List resultDeckMaximums, ICardChoiceVerifier verifier, List &answer, AdditionalCardChoiceOptions options, CardChoiceRearrangeCallback callback ) : bool
TryAskForCardUsage ( Prompt prompt, ICardUsageVerifier verifier, ISkill &skill, List &cards, List &players ) : bool
TryAskForMultipleChoice ( int &answer ) : bool

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

Freeze() public method

public Freeze ( ) : void
return void

NextQuestion() public method

public NextQuestion ( ) : void
return void

SendCardChoice() public method

public SendCardChoice ( ICardChoiceVerifier verifier, List answer, AdditionalCardChoiceOptions options ) : void
verifier ICardChoiceVerifier
answer List
options Sanguosha.Core.UI.AdditionalCardChoiceOptions
return void

SendCardUsage() public method

public SendCardUsage ( ISkill skill, List cards, List players, ICardUsageVerifier verifier ) : void
skill ISkill
cards List
players List
verifier ICardUsageVerifier
return void

SendMultipleCardUsageResponded() public method

public SendMultipleCardUsageResponded ( Player player ) : void
player Sanguosha.Core.Players.Player
return void

SendMultipleChoice() public method

public SendMultipleChoice ( int answer ) : void
answer int
return void

ServerNetworkProxy() public method

public ServerNetworkProxy ( Server s, int id ) : System
s Server
id int
return System

TryAskForCardChoice() public method

public TryAskForCardChoice ( List sourceDecks, List resultDeckMaximums, ICardChoiceVerifier verifier, List &answer, AdditionalCardChoiceOptions options, CardChoiceRearrangeCallback callback ) : bool
sourceDecks List
resultDeckMaximums List
verifier ICardChoiceVerifier
answer List
options Sanguosha.Core.UI.AdditionalCardChoiceOptions
callback CardChoiceRearrangeCallback
return bool

TryAskForCardUsage() public method

public TryAskForCardUsage ( 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

TryAskForMultipleChoice() public method

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