C# Класс Sanguosha.Core.Network.ServerNetworkProxy

Наследование: IPlayerProxy
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AskForCardChoice() публичный Метод

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
Результат bool

AskForCardUsage() публичный Метод

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
Результат bool

AskForMultipleChoice() публичный Метод

public AskForMultipleChoice ( Prompt prompt, List questions, int &answer ) : bool
prompt Sanguosha.Core.UI.Prompt
questions List
answer int
Результат bool

Freeze() публичный Метод

public Freeze ( ) : void
Результат void

NextQuestion() публичный Метод

public NextQuestion ( ) : void
Результат void

SendCardChoice() публичный Метод

public SendCardChoice ( ICardChoiceVerifier verifier, List answer, AdditionalCardChoiceOptions options ) : void
verifier ICardChoiceVerifier
answer List
options Sanguosha.Core.UI.AdditionalCardChoiceOptions
Результат void

SendCardUsage() публичный Метод

public SendCardUsage ( ISkill skill, List cards, List players, ICardUsageVerifier verifier ) : void
skill ISkill
cards List
players List
verifier ICardUsageVerifier
Результат void

SendMultipleCardUsageResponded() публичный Метод

public SendMultipleCardUsageResponded ( Player player ) : void
player Sanguosha.Core.Players.Player
Результат void

SendMultipleChoice() публичный Метод

public SendMultipleChoice ( int answer ) : void
answer int
Результат void

ServerNetworkProxy() публичный Метод

public ServerNetworkProxy ( Server s, int id ) : System
s Server
id int
Результат System

TryAskForCardChoice() публичный Метод

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
Результат bool

TryAskForCardUsage() публичный Метод

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
Результат bool

TryAskForMultipleChoice() публичный Метод

public TryAskForMultipleChoice ( int &answer ) : bool
answer int
Результат bool