mod_entry_point¶
Source: base/tealdef/gui/main/mod_entry_point.d.tl
Notes
Extension point through which mods add their own top-level React UI to the game view.
ModEntryPoint¶
record global base/tealdef/gui/main/mod_entry_point.d.tl:3
global record ModEntryPoint
Load: local mod_entry_point = ug_require "/gui/main/mod_entry_point.tl"
Notes
Holds the extension point for mod UI in the game view.
Fields
| Name | Type | Description |
|---|---|---|
ModEntryPointExtension |
ExtensionPoint0 |
Extension point for mod UI; each plugin recipe registered with react.RegisterPluginRecipe(mod_entry_point.ModEntryPointExtension, name, fn) is placed in the game UI root as a full-size floating layout child. used 1× in the base game |