ProtoFlux:Notify Modified: Difference between revisions

From Resonite Wiki
Add some info to the page
 
Created a page for the Notify Modifed node.
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A node that when called will invoke the NotifyModified method on the input component. Used for components which implement IModifiedEventReceiver like GridContainerPreset and Workspace.
{{#Invoke:ProtoFlux|GenerateUI
|Name=Notify Modified
|Category=Utility
|Inputs=
[
{"Name":"*", "Type":"Call"},
{"Name":"ModifiedComponent", "Type":"IComponent"}
]
|Outputs=
[
{"Name":"Next", "Type":"Continuation"}
]
|}}
 
The <code>Notify Modified</code> node takes in an [[Type:IComponent|IComponent]], and when called will invoke the <code>NotifyModified</code> method on the input [[Component]]. Used for components which implement [[Type:IModifiedEventReceiver|IModifiedEventReceiver]] like [[Component:GridContainerPreset|GridContainerPreset]] and [[Component:Workspace|Workspace]].
 
== Inputs ==
 
=== * ([[Impulses|Call]]) ===
 
Calls an impulse to check if a component was modified.
 
=== ModifiedComponent ([[Type:IComponent|IComponent]]) ===
 
The component to check.
 
== Outputs ==
 
=== Next ([[Impulses|Continuation]]) ===
 
Continue the code form here.
 
[[Category:ProtoFlux:Utility]]

Latest revision as of 08:33, 23 May 2024

Notify Modified
*
Next
ModifiedComponent
Utility

The Notify Modified node takes in an IComponent, and when called will invoke the NotifyModified method on the input Component. Used for components which implement IModifiedEventReceiver like GridContainerPreset and Workspace.

Inputs

* (Call)

Calls an impulse to check if a component was modified.

ModifiedComponent (IComponent)

The component to check.

Outputs

Next (Continuation)

Continue the code form here.