Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.Dialog.DialogEntryNode Class Reference
Inheritance diagram for PlatformerPro.Dialog.DialogEntryNode:
XNode.Node

Public Member Functions

override object GetValue (NodePort port)
 Returns a value based on requested port output. Should be overridden in all derived nodes with outputs. More...
 
- Public Member Functions inherited from XNode.Node
NodePort AddInstanceInput (Type type, Node.ConnectionType connectionType=Node.ConnectionType.Multiple, Node.TypeConstraint typeConstraint=TypeConstraint.None, string fieldName=null)
 
NodePort AddInstanceOutput (Type type, Node.ConnectionType connectionType=Node.ConnectionType.Multiple, Node.TypeConstraint typeConstraint=TypeConstraint.None, string fieldName=null)
 
void RemoveInstancePort (string fieldName)
 
void RemoveInstancePort (NodePort port)
 
void ClearInstancePorts ()
 
void UpdateStaticPorts ()
 Update static ports to reflect class fields. This happens automatically on enable. More...
 
void VerifyConnections ()
 Checks all connections for invalid references, and removes them. More...
 
NodePort AddDynamicInput (Type type, Node.ConnectionType connectionType=Node.ConnectionType.Multiple, Node.TypeConstraint typeConstraint=TypeConstraint.None, string fieldName=null)
 Convenience function. More...
 
NodePort AddDynamicOutput (Type type, Node.ConnectionType connectionType=Node.ConnectionType.Multiple, Node.TypeConstraint typeConstraint=TypeConstraint.None, string fieldName=null)
 Convenience function. More...
 
void RemoveDynamicPort (string fieldName)
 Remove an dynamic port from the node More...
 
void RemoveDynamicPort (NodePort port)
 Remove an dynamic port from the node More...
 
void ClearDynamicPorts ()
 Removes all dynamic ports from the node More...
 
NodePort GetOutputPort (string fieldName)
 Returns output port which matches fieldName More...
 
NodePort GetInputPort (string fieldName)
 Returns input port which matches fieldName More...
 
NodePort GetPort (string fieldName)
 Returns port which matches fieldName More...
 
bool HasPort (string fieldName)
 
GetInputValue< T > (string fieldName, T fallback=default(T))
 Return input value for a specified port. Returns fallback value if no ports are connected More...
 
T[] GetInputValues< T > (string fieldName, params T[] fallback)
 Return all input values for a specified port. Returns fallback value if no ports are connected More...
 
virtual void OnCreateConnection (NodePort from, NodePort to)
 Called after a connection between two NodePorts is created More...
 
virtual void OnRemoveConnection (NodePort port)
 Called after a connection is removed from this port More...
 
void ClearConnections ()
 Disconnect everything from this node More...
 

Public Attributes

DialogNode exit
 
- Public Attributes inherited from XNode.Node
NodeGraph graph
 Parent NodeGraph More...
 
Vector2 position
 Position on the NodeGraph More...
 

Additional Inherited Members

- Public Types inherited from XNode.Node
enum class  ShowBackingValue { Never , Unconnected , Always }
 Used by InputAttribute and OutputAttribute to determine when to display the field value associated with a NodePort More...
 
enum class  ConnectionType { Multiple , Override }
 
enum class  TypeConstraint { None , Inherited , Strict , InheritedInverse }
 Tells which types of input to allow More...
 
- Static Public Attributes inherited from XNode.Node
static NodeGraph graphHotfix
 Used during node instantiation to fix null/misconfigured graph during OnEnable/Init. Set it before instantiating a node. Will automatically be unset during OnEnable More...
 
- Protected Member Functions inherited from XNode.Node
void OnEnable ()
 
virtual void Init ()
 Initialize node. Called on enable. More...
 
- Properties inherited from XNode.Node
IEnumerable< NodePortInstancePorts [get]
 
IEnumerable< NodePortInstanceOutputs [get]
 
IEnumerable< NodePortInstanceInputs [get]
 
IEnumerable< NodePortPorts [get]
 Iterate over all ports on this node. More...
 
IEnumerable< NodePortOutputs [get]
 Iterate over all outputs on this node. More...
 
IEnumerable< NodePortInputs [get]
 Iterate over all inputs on this node. More...
 
IEnumerable< NodePortDynamicPorts [get]
 Iterate over all dynamic ports on this node. More...
 
IEnumerable< NodePortDynamicOutputs [get]
 Iterate over all dynamic outputs on this node. More...
 
IEnumerable< NodePortDynamicInputs [get]
 Iterate over all dynamic inputs on this node. More...
 

Member Function Documentation

◆ GetValue()

override object PlatformerPro.Dialog.DialogEntryNode.GetValue ( NodePort  port)
virtual

Returns a value based on requested port output. Should be overridden in all derived nodes with outputs.

Parameters
portThe requested port.

Reimplemented from XNode.Node.

Member Data Documentation

◆ exit

DialogNode PlatformerPro.Dialog.DialogEntryNode.exit

The documentation for this class was generated from the following file: