Esempio n. 1
0
 /// <summary>
 /// The function called to modify the node's data whenever a node disconnects.
 /// </summary>
 /// <param name="quest">The quest data.</param>
 /// <param name="connectionType">The type of the connecting node.</param>
 /// <param name="connectionID">The id of the connected node.</param>
 public void OnDisconnect(QQ_QuestSO quest, QQ_NodeType connectionType, int connectionID)
 {
     if (NextTasks.Contains(connectionID))
     {
         NextTasks.Remove(connectionID);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// The function called to modify the node's data whenever a node disconnects.
 /// </summary>
 /// <param name="quest">The quest data.</param>
 /// <param name="connectionType">The type of the connecting node.</param>
 /// <param name="connectionID">The id of the connected node.</param>
 /// <param name="knobID">The id of the knob.</param>
 /// <param name="knobType">The type of the knob.</param>
 public void OnDisconnect(QQ_QuestSO quest, QQ_NodeType connectionType, int connectionID, int knobID, QQ_KnobType knobType)
 {
     if (knobType == QQ_KnobType.Input)
     {
     }
     else if (knobType == QQ_KnobType.Output)
     {
         FirstTasks.Remove(connectionID);
     }
 }
Esempio n. 3
0
 /// <summary>
 /// The function called to modify the node's data whenever a node connects.
 /// </summary>
 /// <param name="quest">The quest data.</param>
 /// <param name="connectionType">The type of the connecting node.</param>
 /// <param name="connectionID">The id of the connecting node.</param>
 /// <param name="connectionKnobID">The id of the connecting knob.</param>
 /// <param name="knobID">The id of this node's knob.</param>
 /// <param name="knobType">The type of this node's knob.</param>
 public void OnConnect(QQ_QuestSO quest, QQ_NodeType connectionType, int connectionID, int connectionKnobID, int knobID, QQ_KnobType knobType)
 {
     if (knobType == QQ_KnobType.Input)
     {
     }
     else if (knobType == QQ_KnobType.Output)
     {
         if (!NextTasks.Contains(connectionID))
         {
             NextTasks.Add(connectionID);
         }
     }
 }
Esempio n. 4
0
 /// <summary>
 /// The function called to modify the node's data whenever a node disconnects.
 /// </summary>
 /// <param name="quest">The quest data.</param>
 /// <param name="connectionType">The type of the connecting node.</param>
 /// <param name="connectionID">The id of the connected node.</param>
 /// <param name="connectionKnobID">The id of the connected knob.</param>
 /// <param name="knobID">The id of the knob.</param>
 /// <param name="knobType">The type of the knob.</param>
 public void OnDisconnect(QQ_QuestSO quest, QQ_NodeType connectionType, int connectionID, int connectionKnobID, int knobID, QQ_KnobType knobType)
 {
     OnDisconnect(quest, connectionType, connectionID, knobID, knobType);
 }
Esempio n. 5
0
 /// <summary>
 /// The function called to modify the node's data whenever a node disconnects.
 /// </summary>
 /// <param name="quest">The quest data.</param>
 /// <param name="connectionType">The type of the connecting node.</param>
 /// <param name="connectionID">The id of the connected node.</param>
 public void OnDisconnect(QQ_QuestSO quest, QQ_NodeType connectionType, int connectionID)
 {
     FirstTasks.Remove(connectionID);
 }