C# Class SkillDef, SRPGCK

显示文件 Open project: JoeOsborn/SRPGCK Class Usage Examples

Public Properties

Property Type Description
deactivatesOnApplication bool
involvedItem Item,
isActive bool
isEnabledF Formula,
lastEffects List
parameters List
passiveEffects StatEffect[],
reactionApplicationEffects StatEffectGroup,
reactionEffects StatEffectGroup[],
reactionSkill bool
reactionStatChangesApplied StatChange[],
reactionTargetRegion Region,
reactionTypesApplied string[]
reallyDefined bool
replacedSkill string
replacementPriority int
replacesSkill bool
requiresReplacement bool
skillGroup string
skillName string
skillSorting int

Protected Properties

Property Type Description
runtimeParameters Formula>.Dictionary

Public Methods

Method Description
ActivateSkill ( ) : void
ApplySkill ( ) : void
Cancel ( ) : void
DeactivateSkill ( ) : void
GetParam ( string pname, float fallback = float.NaN, SkillDef, parentCtx = null ) : float
HasParam ( string pname ) : bool
Reset ( ) : void
SetArgsFrom ( Vector3 ttp, Quaternion facing = null, string prefix = "", Vector3 start = null ) : void
SetParam ( string pname, Formula, f ) : void
SetParam ( string pname, float value ) : void
Start ( ) : void
Update ( ) : void

Protected Methods

Method Description
ApplyEffectsTo ( Target, t, TargetSettings, ts, StatEffectGroup, effectGroups, List targs, string htp, Vector3 start ) : void
ApplyPerApplicationEffectsTo ( StatEffect, effects, List targs ) : void
ClearLastEffects ( ) : void
MakeParametersIfNecessary ( ) : void
PathNodesForTarget ( Target, t, Region, tr, Region, efr, Vector3 pos, Quaternion q ) : PathNode[],
ReactionTypesMatch ( StatEffectRecord, se ) : bool
ReactsAgainst ( SkillDef, s, StatEffectRecord, se ) : bool
ResetSkill ( ) : void
SetArgsFromTarget ( Target, t, TargetSettings, ts, string prefix, Vector3 start = null ) : void
SkillApplied ( SkillDef, s ) : void
TransformKeyboardAxes ( float h, float v, bool switchXY = true, bool cardinalize = true ) : Vector2

Method Details

ActivateSkill() public method

public ActivateSkill ( ) : void
return void

ApplyEffectsTo() protected method

protected ApplyEffectsTo ( Target, t, TargetSettings, ts, StatEffectGroup, effectGroups, List targs, string htp, Vector3 start ) : void
t Target,
ts TargetSettings,
effectGroups StatEffectGroup,
targs List
htp string
start Vector3
return void

ApplyPerApplicationEffectsTo() protected method

protected ApplyPerApplicationEffectsTo ( StatEffect, effects, List targs ) : void
effects StatEffect,
targs List
return void

ApplySkill() public method

public ApplySkill ( ) : void
return void

Cancel() public method

public Cancel ( ) : void
return void

ClearLastEffects() protected method

protected ClearLastEffects ( ) : void
return void

DeactivateSkill() public method

public DeactivateSkill ( ) : void
return void

GetParam() public method

public GetParam ( string pname, float fallback = float.NaN, SkillDef, parentCtx = null ) : float
pname string
fallback float
parentCtx SkillDef,
return float

HasParam() public method

public HasParam ( string pname ) : bool
pname string
return bool

MakeParametersIfNecessary() protected method

protected MakeParametersIfNecessary ( ) : void
return void

PathNodesForTarget() protected method

protected PathNodesForTarget ( Target, t, Region, tr, Region, efr, Vector3 pos, Quaternion q ) : PathNode[],
t Target,
tr Region,
efr Region,
pos Vector3
q Quaternion
return PathNode[],

ReactionTypesMatch() protected method

protected ReactionTypesMatch ( StatEffectRecord, se ) : bool
se StatEffectRecord,
return bool

ReactsAgainst() protected method

protected ReactsAgainst ( SkillDef, s, StatEffectRecord, se ) : bool
s SkillDef,
se StatEffectRecord,
return bool

Reset() public method

public Reset ( ) : void
return void

ResetSkill() protected method

protected ResetSkill ( ) : void
return void

SetArgsFrom() public method

public SetArgsFrom ( Vector3 ttp, Quaternion facing = null, string prefix = "", Vector3 start = null ) : void
ttp Vector3
facing Quaternion
prefix string
start Vector3
return void

SetArgsFromTarget() protected method

protected SetArgsFromTarget ( Target, t, TargetSettings, ts, string prefix, Vector3 start = null ) : void
t Target,
ts TargetSettings,
prefix string
start Vector3
return void

SetParam() public method

public SetParam ( string pname, Formula, f ) : void
pname string
f Formula,
return void

SetParam() public method

public SetParam ( string pname, float value ) : void
pname string
value float
return void

SkillApplied() protected method

protected SkillApplied ( SkillDef, s ) : void
s SkillDef,
return void

Start() public method

public Start ( ) : void
return void

TransformKeyboardAxes() protected static method

protected static TransformKeyboardAxes ( float h, float v, bool switchXY = true, bool cardinalize = true ) : Vector2
h float
v float
switchXY bool
cardinalize bool
return Vector2

Update() public method

public Update ( ) : void
return void

Property Details

deactivatesOnApplication public_oe property

public bool deactivatesOnApplication
return bool

involvedItem public_oe property

public Item, involvedItem
return Item,

isActive public_oe property

public bool isActive
return bool

isEnabledF public_oe property

public Formula, isEnabledF
return Formula,

lastEffects public_oe property

public List lastEffects
return List

parameters public_oe property

public List parameters
return List

passiveEffects public_oe property

public StatEffect[], passiveEffects
return StatEffect[],

reactionApplicationEffects public_oe property

public StatEffectGroup, reactionApplicationEffects
return StatEffectGroup,

reactionEffects public_oe property

public StatEffectGroup[], reactionEffects
return StatEffectGroup[],

reactionSkill public_oe property

public bool reactionSkill
return bool

reactionStatChangesApplied public_oe property

public StatChange[], reactionStatChangesApplied
return StatChange[],

reactionTargetRegion public_oe property

public Region, reactionTargetRegion
return Region,

reactionTypesApplied public_oe property

public string[] reactionTypesApplied
return string[]

reallyDefined public_oe property

public bool reallyDefined
return bool

replacedSkill public_oe property

public string replacedSkill
return string

replacementPriority public_oe property

public int replacementPriority
return int

replacesSkill public_oe property

public bool replacesSkill
return bool

requiresReplacement public_oe property

public bool requiresReplacement
return bool

runtimeParameters protected_oe property

protected Dictionary runtimeParameters
return Formula>.Dictionary

skillGroup public_oe property

public string skillGroup
return string

skillName public_oe property

public string skillName
return string

skillSorting public_oe property

public int skillSorting
return int