ProtoFlux:Notify Modified: Difference between revisions

From Resonite Wiki
m stub
m fixed spelling error
 
(One intermediate revision by one other user 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"}
]
|}}


{{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 from here.
 
[[Category:ProtoFlux:Utility]]

Latest revision as of 21:43, 11 May 2025

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 from here.