(3 intermediate revisions by one other user not shown)
Line 20:
Line 20:
== Sync Delegates ==
== Sync Delegates ==
{{Table ComponentTriggers
{{Table ComponentTriggers
|OnCancelPressed|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]] button, [[Type:ButtonEventData|ButtonEventData]] eventData>| Closes the UI and doesn't attach anything.
|OnCancelPressed:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Closes the UI and doesn't attach anything.
|OnOpenCategoryPressed|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]] button, [[Type:ButtonEventData|ButtonEventData]] eventData, [[Type:String|string]] path>| Opens a category of the path argument given.
|OnOpenCategoryPressed:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:String|String]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:String|String]]>|true| Opens a category of the path argument given.
|OnGenericTypesPressed|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]] button, [[Type:ButtonEventData|ButtonEventData]] eventData, [[Type:String|string]] pathType>| Builds the UI for a component being clicked that has a generic argument.
|OpenGenericTypesPressed:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:String|String]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:String|String]]>|true| Handles loading the menu for selecting a generic argument screen for a component that has a generic argument like <T>, <A>, or <S> to name a few.
|OnGroupPressed|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]] button, [[Type:ButtonEventData|ButtonEventData]] eventData, [[Type:String|string]] pathWithGroup>| Builds a UI for a component group like Pack3 or Pack2.
|OpenGroupPressed:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:String|String]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:String|String]]>|true| Handles bringing up the menu for opening a group of components of the same type (purple buttons).
|OnAddComponentPressed|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]] button, [[Type:ButtonEventData|ButtonEventData]] eventData, [[Type:String|string]] typename>| Triggers when a component is addrd.
|OnAddComponentPressed:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:String|String]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:String|String]]>|true| Triggers when a component is addrd.
|OnCreateCustomType|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]] button, [[Type:ButtonEventData|ButtonEventData]] eventData>| Triggers when a component is made via the attacher with a generic type that isn't in the list of preselected generics.
|OnCreateCustomType:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Triggers when a component is made via the attacher with a generic type that isn't in the list of preselected generics.