C# 클래스 Sanguosha.Core.Games.PlayerExtension

파일 보기 프로젝트 열기: RagingBigFemaleBird/sgs

공개 메소드들

메소드 설명
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

메소드 상세

Armor() 공개 정적인 메소드

public static Armor ( this p ) : Sanguosha.Core.Cards.Card
p this
리턴 Sanguosha.Core.Cards.Card

AskForCardChoice() 공개 정적인 메소드

询问用户从若干牌堆中选择卡牌,例如顺手牵羊,观星等等。
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
리턴 bool

AskForCardUsage() 공개 정적인 메소드

询问使用或打出卡牌,可以发动技能。
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
리턴 bool

AskForMultipleChoice() 공개 정적인 메소드

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

DefensiveHorse() 공개 정적인 메소드

public static DefensiveHorse ( this p ) : Sanguosha.Core.Cards.Card
p this
리턴 Sanguosha.Core.Cards.Card

DelayedTools() 공개 정적인 메소드

public static DelayedTools ( this p ) : List
p this
리턴 List

Equipments() 공개 정적인 메소드

public static Equipments ( this p ) : List
p this
리턴 List

HandCards() 공개 정적인 메소드

public static HandCards ( this p ) : List
p this
리턴 List

OffensiveHorse() 공개 정적인 메소드

public static OffensiveHorse ( this p ) : Sanguosha.Core.Cards.Card
p this
리턴 Sanguosha.Core.Cards.Card

Weapon() 공개 정적인 메소드

public static Weapon ( this p ) : Sanguosha.Core.Cards.Card
p this
리턴 Sanguosha.Core.Cards.Card