Add some info to the page |
m YoshBot moved page ProtoFlux:Notify Modified to ProtoFlux:NotifyModified: Automated: removing spaces from ProtoFlux namespace |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{#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 00:28, 21 August 2025
Notify Modified
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.