Arbor 3: FSM & BT Graph Editor  3.5.1
RerouteSlot Class Reference

Slot used for midpoint of DataBranch. More...

Inheritance diagram for RerouteSlot:
DataSlot IInputSlot IOutputSlot

Public Member Functions

void SetInputBranch (DataBranch branch)
 Set DataBranch. More...
 
void RemoveInputBranch (DataBranch branch)
 Remove DataBranch. More...
 
DataBranch GetInputBranch ()
 Get DataBranch. More...
 
bool IsConnectedInput (DataBranch branch)
 It judges whether it is connected with DataBranch. More...
 
void AddOutputBranch (DataBranch branch)
 Addition of DataBranch. More...
 
void RemoveOutputBranch (DataBranch branch)
 Remove DataBranch. More...
 
int GetOutputBranchCount ()
 Get count of DataBranch. More...
 
DataBranch GetOutputBranch (int index)
 Get DataBranch. More...
 
bool IsConnectedOutput (DataBranch branch)
 It judges whether it is connected with DataBranch. More...
 
override void Disconnect ()
 Disconnect the connection. More...
 

Public Attributes

int inputBranchID
 Input branch ID More...
 
List< int > outputBranchIDs = new List<int>()
 Output branch ID More...
 
ClassTypeReference type = new ClassTypeReference()
 Connectable value type More...
 
- Public Attributes inherited from DataSlot
NodeGraph nodeGraph
 State machine slot belongs More...
 
Rect position
 Position on ArborEditor of slot(Editor Only) More...
 

Properties

override SlotType slotType [get]
 Slot type More...
 
override System.Type dataType [get]
 The type of data stored in the slot More...
 
- Properties inherited from DataSlot
abstract SlotType slotType [get]
 Slot type More...
 
abstract System.Type dataType [get]
 The type of data stored in the slot More...
 

Additional Inherited Members

- Events inherited from DataSlot
System.Action< bool > onConnectionChanged
 Callback event when connection is changed More...
 

Detailed Description

Slot used for midpoint of DataBranch.

Member Function Documentation

void AddOutputBranch ( DataBranch  branch)

Addition of DataBranch.

Parameters
branchDataBranch

Implements IOutputSlot.

override void Disconnect ( )
virtual

Disconnect the connection.

Implements DataSlot.

DataBranch GetInputBranch ( )

Get DataBranch.

Returns
DataBranch

Implements IInputSlot.

DataBranch GetOutputBranch ( int  index)

Get DataBranch.

Parameters
indexIndex
Returns
DataBranch

Implements IOutputSlot.

int GetOutputBranchCount ( )

Get count of DataBranch.

Returns
Count of DataBranch

Implements IOutputSlot.

bool IsConnectedInput ( DataBranch  branch)

It judges whether it is connected with DataBranch.

Parameters
branchDataBranch
Returns
True if connected, false otherwise.

Implements IInputSlot.

bool IsConnectedOutput ( DataBranch  branch)

It judges whether it is connected with DataBranch.

Parameters
branchDataBranch
Returns
True if connected, false otherwise.

Implements IOutputSlot.

void RemoveInputBranch ( DataBranch  branch)

Remove DataBranch.

Parameters
branchDataBranch

Implements IInputSlot.

void RemoveOutputBranch ( DataBranch  branch)

Remove DataBranch.

Parameters
branchDataBranch

Implements IOutputSlot.

void SetInputBranch ( DataBranch  branch)

Set DataBranch.

Parameters
branchDataBranch

Implements IInputSlot.

Member Data Documentation

int inputBranchID

Input branch ID

List<int> outputBranchIDs = new List<int>()

Output branch ID

Connectable value type

Property Documentation

override System.Type dataType
get

The type of data stored in the slot

override SlotType slotType
get

Slot type