ProtoFlux:Notify Modified: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page Notify Modified (ProtoFlux) to ProtoFlux:Notify Modified: Creating protoflux Namespace
m fixed spelling error
 
(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 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.