ProtoFlux:Notify Modified: Difference between revisions

From Resonite Wiki
m stub
Created a page for the Notify Modifed node.
 
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"}
]
|}}


{{Stub}}
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]].


<i> Needs standardization </i>
== Inputs ==


<i> needs examples </i>
=== * ([[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.