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

Inheritance: Sanguosha.Core.Cards.CardHandler
Exibir arquivo Open project: RagingBigFemaleBird/sgs Class Usage Examples

Public Properties

Property Type Description
AdditionalShaUsable Sanguosha.Core.Players.PlayerAttribute
NumberOfShaUsed Sanguosha.Core.Players.PlayerAttribute
PlayerNumberOfShaCheck Sanguosha.Core.Triggers.GameEvent
PlayerShaTargetValidation Sanguosha.Core.Triggers.GameEvent

Public Methods

Method 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

Protected Methods

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

Method Details

Process() public method

public Process ( GameEventArgs handlerArgs ) : void
handlerArgs Sanguosha.Core.Triggers.GameEventArgs
return void

Process() protected method

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

UseDummyShaTo() public static method

某玩家对某玩家视为使用一张虚拟的杀,能被技能转化,影响选择的目标,如疠火,朱雀羽扇
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
return void

Verify() public method

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

VerifyCore() public method

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

Property Details

AdditionalShaUsable public_oe static_oe property

public static PlayerAttribute,Sanguosha.Core.Players AdditionalShaUsable
return Sanguosha.Core.Players.PlayerAttribute

NumberOfShaUsed public_oe static_oe property

public static PlayerAttribute,Sanguosha.Core.Players NumberOfShaUsed
return Sanguosha.Core.Players.PlayerAttribute

PlayerNumberOfShaCheck public_oe static_oe property

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

PlayerShaTargetValidation public_oe static_oe property

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