C# Class Sanguosha.Core.Games.PlayerExtension

Afficher le fichier Open project: RagingBigFemaleBird/sgs

Méthodes publiques

Méthode Description
Armor ( this p ) : Sanguosha.Core.Cards.Card
AskForCardChoice ( this p, Prompt prompt, List sourceDecks, List resultDeckNames, List resultDeckMaximums, ICardChoiceVerifier verifier, List &answer, AdditionalCardChoiceOptions helper = null, CardChoiceRearrangeCallback callback = null ) : bool

询问用户从若干牌堆中选择卡牌,例如顺手牵羊,观星等等。

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

询问使用或打出卡牌,可以发动技能。

AskForMultipleChoice ( this p, Prompt prompt, List options, int &answer ) : bool

询问多选题目,例如是否发动洛神

DefensiveHorse ( this p ) : Sanguosha.Core.Cards.Card
DelayedTools ( this p ) : List
Equipments ( this p ) : List
HandCards ( this p ) : List
OffensiveHorse ( this p ) : Sanguosha.Core.Cards.Card
Weapon ( this p ) : Sanguosha.Core.Cards.Card

Method Details

Armor() public static méthode

public static Armor ( this p ) : Sanguosha.Core.Cards.Card
p this
Résultat Sanguosha.Core.Cards.Card

AskForCardChoice() public static méthode

询问用户从若干牌堆中选择卡牌,例如顺手牵羊,观星等等。
public static AskForCardChoice ( this p, Prompt prompt, List sourceDecks, List resultDeckNames, List resultDeckMaximums, ICardChoiceVerifier verifier, List &answer, AdditionalCardChoiceOptions helper = null, CardChoiceRearrangeCallback callback = null ) : bool
p this
prompt Sanguosha.Core.UI.Prompt
sourceDecks List
resultDeckNames List
resultDeckMaximums List
verifier ICardChoiceVerifier
answer List 用户选择结果。对应resultDeckNames,每个选出的牌堆占用一个list。
helper Sanguosha.Core.UI.AdditionalCardChoiceOptions
callback CardChoiceRearrangeCallback
Résultat bool

AskForCardUsage() public static méthode

询问使用或打出卡牌,可以发动技能。
public static AskForCardUsage ( this p, Prompt prompt, ICardUsageVerifier verifier, ISkill &skill, List &cards, List &players ) : bool
p this
prompt Sanguosha.Core.UI.Prompt
verifier ICardUsageVerifier
skill ISkill
cards List
players List
Résultat bool

AskForMultipleChoice() public static méthode

询问多选题目,例如是否发动洛神
public static AskForMultipleChoice ( this p, Prompt prompt, List options, int &answer ) : bool
p this
prompt Sanguosha.Core.UI.Prompt
options List
answer int 回答
Résultat bool

DefensiveHorse() public static méthode

public static DefensiveHorse ( this p ) : Sanguosha.Core.Cards.Card
p this
Résultat Sanguosha.Core.Cards.Card

DelayedTools() public static méthode

public static DelayedTools ( this p ) : List
p this
Résultat List

Equipments() public static méthode

public static Equipments ( this p ) : List
p this
Résultat List

HandCards() public static méthode

public static HandCards ( this p ) : List
p this
Résultat List

OffensiveHorse() public static méthode

public static OffensiveHorse ( this p ) : Sanguosha.Core.Cards.Card
p this
Résultat Sanguosha.Core.Cards.Card

Weapon() public static méthode

public static Weapon ( this p ) : Sanguosha.Core.Cards.Card
p this
Résultat Sanguosha.Core.Cards.Card