C# Class Sanguosha.Core.Skills.ActiveSkill

Inheritance: ISkill
ファイルを表示 Open project: RagingBigFemaleBird/sgs

Public Methods

Method Description
ActiveSkill ( ) : System
Clone ( ) : object
Commit ( GameEventArgs arg ) : bool

提交主动技的发动请求。

NotifyAction ( Players source, List targets, List cards ) : void
NotifyAndCommit ( GameEventArgs arg ) : bool
Validate ( GameEventArgs arg ) : VerifierResult

检查主动技的合法性。

Protected Methods

Method Description
GenerateSpecialEffectHintIndex ( Players source, List targets, List cards ) : int
TargetsSplit ( List targets, List &firstTargets, List &secondaryTargets ) : void

Method Details

ActiveSkill() public method

public ActiveSkill ( ) : System
return System

Clone() public method

public Clone ( ) : object
return object

Commit() public abstract method

提交主动技的发动请求。
public abstract Commit ( GameEventArgs arg ) : bool
arg Sanguosha.Core.Triggers.GameEventArgs 参数
return bool

GenerateSpecialEffectHintIndex() protected method

protected GenerateSpecialEffectHintIndex ( Players source, List targets, List cards ) : int
source Players
targets List
cards List
return int

NotifyAction() public method

public NotifyAction ( Players source, List targets, List cards ) : void
source Players
targets List
cards List
return void

NotifyAndCommit() public method

public NotifyAndCommit ( GameEventArgs arg ) : bool
arg Sanguosha.Core.Triggers.GameEventArgs
return bool

TargetsSplit() protected method

protected TargetsSplit ( List targets, List &firstTargets, List &secondaryTargets ) : void
targets List
firstTargets List
secondaryTargets List
return void

Validate() public abstract method

检查主动技的合法性。
public abstract Validate ( GameEventArgs arg ) : VerifierResult
arg Sanguosha.Core.Triggers.GameEventArgs 参数
return VerifierResult