SkillConnection
Last updated
Last updated
Stores skill node connection data.
Name | Description | Type |
---|---|---|
Return Type: SkillGraph
Gets the skill graph of the connection. Returns the skill graph that the connection is a part of or null if it doesn't exist.
Entirely copies the data of another connection.
Name | Description | Type |
---|---|---|
Return Type: SkillConnection
Creates and returns a copy of itself.
Return Type: bool
Checks if this connection is valid. A connection must have all reference IDs set. Returns true if the connection is valid. Otherwise, false.
Return Type: bool
Returns true if the other connection is similar. Otherwise, false.
Parameters
Name | Description | Type |
---|---|---|
graphReferenceID
The reference of the graph that this connection is a part of.
string
skillNodeA
The first skill node.
SkillNode
skillNodeB
The second skill node.
SkillNode
twoWay
If this connection goes both ways (from A to B and B to A).
bool
other
The other connection.
SkillConnection
other
The other connection.
SkillConnection