C# Class LogicSpawn.GTARPG.Core.Objects.Skill

ファイルを表示 Open project: logicspawn/GTARPG Class Usage Examples

Public Properties

Property Type Description
CoolDownTimer LogicSpawn.GTARPG.Core.Objects.CoolDown
Description string
Mods int>.Dictionary
Name string
Parameters object>.Dictionary
PointsToUnlock int
Unlocked bool
UsedMods List

Private Properties

Property Type Description

Public Methods

Method Description
GetBoolParam ( string paramName ) : bool
GetFloatParam ( string paramName ) : float
GetIntParam ( string paramName ) : int
GetStringParam ( string paramName ) : string
SetParam ( string paramName, object value ) : void
Skill ( ) : System
Skill ( string name, string desc, int pointsToUnlock ) : System
Unlock ( ) : void
UnlockMod ( string modName ) : bool
Use ( Skill obj ) : void
WithAction ( Action action ) : Skill
WithCooldown ( int coolDownMs ) : Skill
WithModTree ( NTree modTree ) : Skill
WithMods ( ) : Skill
WithParam ( string paramName, object startingValue ) : Skill
WithParam ( string paramName, object startingValue, string>.Func visibleParam, string visibleName = null ) : Skill
WithStartingUnlocked ( ) : Skill
WithVisibleParam ( string visibleName, string>.Func visibleParam ) : Skill

Method Details

GetBoolParam() public method

public GetBoolParam ( string paramName ) : bool
paramName string
return bool

GetFloatParam() public method

public GetFloatParam ( string paramName ) : float
paramName string
return float

GetIntParam() public method

public GetIntParam ( string paramName ) : int
paramName string
return int

GetStringParam() public method

public GetStringParam ( string paramName ) : string
paramName string
return string

SetParam() public method

public SetParam ( string paramName, object value ) : void
paramName string
value object
return void

Skill() public method

public Skill ( ) : System
return System

Skill() public method

public Skill ( string name, string desc, int pointsToUnlock ) : System
name string
desc string
pointsToUnlock int
return System

Unlock() public method

public Unlock ( ) : void
return void

UnlockMod() public method

public UnlockMod ( string modName ) : bool
modName string
return bool

Use() public method

public Use ( Skill obj ) : void
obj Skill
return void

WithAction() public method

public WithAction ( Action action ) : Skill
action Action
return Skill

WithCooldown() public method

public WithCooldown ( int coolDownMs ) : Skill
coolDownMs int
return Skill

WithModTree() public method

public WithModTree ( NTree modTree ) : Skill
modTree NTree
return Skill

WithMods() public method

public WithMods ( ) : Skill
return Skill

WithParam() public method

public WithParam ( string paramName, object startingValue ) : Skill
paramName string
startingValue object
return Skill

WithParam() public method

public WithParam ( string paramName, object startingValue, string>.Func visibleParam, string visibleName = null ) : Skill
paramName string
startingValue object
visibleParam string>.Func
visibleName string
return Skill

WithStartingUnlocked() public method

public WithStartingUnlocked ( ) : Skill
return Skill

WithVisibleParam() public method

public WithVisibleParam ( string visibleName, string>.Func visibleParam ) : Skill
visibleName string
visibleParam string>.Func
return Skill

Property Details

CoolDownTimer public_oe property

public CoolDown,LogicSpawn.GTARPG.Core.Objects CoolDownTimer
return LogicSpawn.GTARPG.Core.Objects.CoolDown

Description public_oe property

public string Description
return string

Mods public_oe property

public Dictionary Mods
return int>.Dictionary

Name public_oe property

public string Name
return string

Parameters public_oe property

public Dictionary Parameters
return object>.Dictionary

PointsToUnlock public_oe property

public int PointsToUnlock
return int

Unlocked public_oe property

public bool Unlocked
return bool

UsedMods public_oe property

public List UsedMods
return List