SkillConnection
Stores skill node connection data.
Properties
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 |
Methods
GetGraph
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.
CopyData
Entirely copies the data of another connection.
Name | Description | Type |
---|---|---|
other | The other connection. | SkillConnection |
CreateCopy
Return Type: SkillConnection
Creates and returns a copy of itself.
IsValid
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.
IsEqualTo
Return Type: bool
Returns true if the other connection is similar. Otherwise, false.
Parameters
Name | Description | Type |
---|---|---|
other | The other connection. | SkillConnection |
Last updated