C# Класс Sanguosha.Expansions.Basic.Cards.Sha

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

Открытые свойства

Свойство Тип Описание
AdditionalShaUsable Sanguosha.Core.Players.PlayerAttribute
NumberOfShaUsed Sanguosha.Core.Players.PlayerAttribute
PlayerNumberOfShaCheck Sanguosha.Core.Triggers.GameEvent
PlayerShaTargetValidation Sanguosha.Core.Triggers.GameEvent

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

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

Защищенные методы

Метод Описание
Process ( Player source, Player dest, ICard card, ReadOnlyCard readonlyCard, GameEventArgs inResponseTo ) : void

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

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

public Process ( GameEventArgs handlerArgs ) : void
handlerArgs Sanguosha.Core.Triggers.GameEventArgs
Результат void

Process() защищенный Метод

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

UseDummyShaTo() публичный статический Метод

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

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

public Verify ( Player source, ICard card, List targets, bool isLooseVerify ) : VerifierResult
source Sanguosha.Core.Players.Player
card ICard
targets List
isLooseVerify bool
Результат VerifierResult

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

public VerifyCore ( Player source, ICard card, List targets ) : VerifierResult
source Sanguosha.Core.Players.Player
card ICard
targets List
Результат VerifierResult

Описание свойств

AdditionalShaUsable публичное статическое свойство

public static PlayerAttribute,Sanguosha.Core.Players AdditionalShaUsable
Результат Sanguosha.Core.Players.PlayerAttribute

NumberOfShaUsed публичное статическое свойство

public static PlayerAttribute,Sanguosha.Core.Players NumberOfShaUsed
Результат Sanguosha.Core.Players.PlayerAttribute

PlayerNumberOfShaCheck публичное статическое свойство

是否可以使用杀
public static GameEvent,Sanguosha.Core.Triggers PlayerNumberOfShaCheck
Результат Sanguosha.Core.Triggers.GameEvent

PlayerShaTargetValidation публичное статическое свойство

玩家使用杀的目标检测
public static GameEvent,Sanguosha.Core.Triggers PlayerShaTargetValidation
Результат Sanguosha.Core.Triggers.GameEvent