C# Class Sanguosha.Expansions.Basic.Cards.Sha

Inheritance: Sanguosha.Core.Cards.CardHandler
Afficher le fichier Open project: RagingBigFemaleBird/sgs Class Usage Examples

Méthodes publiques

Свойство Type Description
AdditionalShaUsable Sanguosha.Core.Players.PlayerAttribute
NumberOfShaUsed Sanguosha.Core.Players.PlayerAttribute
PlayerNumberOfShaCheck Sanguosha.Core.Triggers.GameEvent
PlayerShaTargetValidation Sanguosha.Core.Triggers.GameEvent

Méthodes publiques

Méthode Description
Process ( GameEventArgs handlerArgs ) : void
UseDummyShaTo ( Player source, Player target, Sanguosha.Core.Cards.CardHandler shaType, Prompt prompt, CardAttribute helper = null, bool notifyShaSound = true ) : void

某玩家对某玩家视为使用一张虚拟的杀,能被技能转化,影响选择的目标,如疠火,朱雀羽扇

Verify ( Player source, ICard card, List targets, bool isLooseVerify ) : VerifierResult
VerifyCore ( Player source, ICard card, List targets ) : VerifierResult

Méthodes protégées

Méthode Description
Process ( Player source, Player dest, ICard card, ReadOnlyCard readonlyCard, GameEventArgs inResponseTo ) : void

Method Details

Process() public méthode

public Process ( GameEventArgs handlerArgs ) : void
handlerArgs Sanguosha.Core.Triggers.GameEventArgs
Résultat void

Process() protected méthode

protected Process ( Player source, Player dest, ICard card, ReadOnlyCard readonlyCard, GameEventArgs inResponseTo ) : void
source Sanguosha.Core.Players.Player
dest Sanguosha.Core.Players.Player
card ICard
readonlyCard Sanguosha.Core.Cards.ReadOnlyCard
inResponseTo Sanguosha.Core.Triggers.GameEventArgs
Résultat void

UseDummyShaTo() public static méthode

某玩家对某玩家视为使用一张虚拟的杀,能被技能转化,影响选择的目标,如疠火,朱雀羽扇
public static UseDummyShaTo ( Player source, Player target, Sanguosha.Core.Cards.CardHandler shaType, Prompt prompt, CardAttribute helper = null, bool notifyShaSound = true ) : void
source Sanguosha.Core.Players.Player
target Sanguosha.Core.Players.Player
shaType Sanguosha.Core.Cards.CardHandler
prompt Sanguosha.Core.UI.Prompt
helper Sanguosha.Core.Cards.CardAttribute
notifyShaSound bool
Résultat void

Verify() public méthode

public Verify ( Player source, ICard card, List targets, bool isLooseVerify ) : VerifierResult
source Sanguosha.Core.Players.Player
card ICard
targets List
isLooseVerify bool
Résultat VerifierResult

VerifyCore() public méthode

public VerifyCore ( Player source, ICard card, List targets ) : VerifierResult
source Sanguosha.Core.Players.Player
card ICard
targets List
Résultat VerifierResult

Property Details

AdditionalShaUsable public_oe static_oe property

public static PlayerAttribute,Sanguosha.Core.Players AdditionalShaUsable
Résultat Sanguosha.Core.Players.PlayerAttribute

NumberOfShaUsed public_oe static_oe property

public static PlayerAttribute,Sanguosha.Core.Players NumberOfShaUsed
Résultat Sanguosha.Core.Players.PlayerAttribute

PlayerNumberOfShaCheck public_oe static_oe property

是否可以使用杀
public static GameEvent,Sanguosha.Core.Triggers PlayerNumberOfShaCheck
Résultat Sanguosha.Core.Triggers.GameEvent

PlayerShaTargetValidation public_oe static_oe property

玩家使用杀的目标检测
public static GameEvent,Sanguosha.Core.Triggers PlayerShaTargetValidation
Résultat Sanguosha.Core.Triggers.GameEvent