C# Class LogicSpawn.GTARPG.Core.AbilityTrees.Node

Exibir arquivo Open project: logicspawn/GTARPG

Public Properties

Property Type Description
Description string
Direction TreeDirection
NotUsable bool
Parent NTree
Position Point
Ref string
Sprite LogicSpawn.GTARPG.Core.Objects.GTASprite
Type NodeType
UnlockAction Action
WepHash WeaponHash

Public Methods

Method Description
DrawDetails ( NTree dataTree ) : void
GetFooter ( NTree dataTree ) : string
GetName ( ) : string
Node ( string reference, LogicSpawn.GTARPG.Core.Objects.GTASprite sprite, NodeType type ) : System
Node ( string reference, LogicSpawn.GTARPG.Core.Objects.GTASprite sprite, NodeType type, TreeDirection direction = TreeDirection.Auto ) : System
Node ( string reference, WeaponHash wepHash, LogicSpawn.GTARPG.Core.Objects.GTASprite sprite, NodeType type ) : System
Node ( string reference, WeaponHash wepHash, LogicSpawn.GTARPG.Core.Objects.GTASprite sprite, NodeType type, TreeDirection direction = TreeDirection.Auto ) : System
Unlocked ( NTree dataTree ) : bool
WithDescription ( string desc ) : Node
WithUnlockAction ( Action action ) : Node
WithUnusable ( ) : Node

Method Details

DrawDetails() public method

public DrawDetails ( NTree dataTree ) : void
dataTree NTree
return void

GetFooter() public method

public GetFooter ( NTree dataTree ) : string
dataTree NTree
return string

GetName() public method

public GetName ( ) : string
return string

Node() public method

public Node ( string reference, LogicSpawn.GTARPG.Core.Objects.GTASprite sprite, NodeType type ) : System
reference string
sprite LogicSpawn.GTARPG.Core.Objects.GTASprite
type NodeType
return System

Node() public method

public Node ( string reference, LogicSpawn.GTARPG.Core.Objects.GTASprite sprite, NodeType type, TreeDirection direction = TreeDirection.Auto ) : System
reference string
sprite LogicSpawn.GTARPG.Core.Objects.GTASprite
type NodeType
direction TreeDirection
return System

Node() public method

public Node ( string reference, WeaponHash wepHash, LogicSpawn.GTARPG.Core.Objects.GTASprite sprite, NodeType type ) : System
reference string
wepHash WeaponHash
sprite LogicSpawn.GTARPG.Core.Objects.GTASprite
type NodeType
return System

Node() public method

public Node ( string reference, WeaponHash wepHash, LogicSpawn.GTARPG.Core.Objects.GTASprite sprite, NodeType type, TreeDirection direction = TreeDirection.Auto ) : System
reference string
wepHash WeaponHash
sprite LogicSpawn.GTARPG.Core.Objects.GTASprite
type NodeType
direction TreeDirection
return System

Unlocked() public method

public Unlocked ( NTree dataTree ) : bool
dataTree NTree
return bool

WithDescription() public method

public WithDescription ( string desc ) : Node
desc string
return Node

WithUnlockAction() public method

public WithUnlockAction ( Action action ) : Node
action Action
return Node

WithUnusable() public method

public WithUnusable ( ) : Node
return Node

Property Details

Description public_oe property

public string Description
return string

Direction public_oe property

public TreeDirection Direction
return TreeDirection

NotUsable public_oe property

public bool NotUsable
return bool

Parent public_oe property

public NTree,LogicSpawn.GTARPG.Core.AbilityTrees Parent
return NTree

Position public_oe property

public Point Position
return Point

Ref public_oe property

public string Ref
return string

Sprite public_oe property

public GTASprite,LogicSpawn.GTARPG.Core.Objects Sprite
return LogicSpawn.GTARPG.Core.Objects.GTASprite

Type public_oe property

public NodeType Type
return NodeType

UnlockAction public_oe property

public Action UnlockAction
return Action

WepHash public_oe property

public WeaponHash WepHash
return WeaponHash