Skip to content

empty_construction_eow

Source: base/tealdef/gui/entity_window/empty_construction/empty_construction_eow.d.tl

Notes

Extension point and plugins of the window of constructions without a more specific window (empty_construction_eow.script.tl).

EmptyConstructionEow

record global base/tealdef/gui/entity_window/empty_construction/empty_construction_eow.d.tl:3

global record EmptyConstructionEow

Load: local empty_construction_eow = ug_require "/gui/entity_window/empty_construction/empty_construction_eow.script.tl"

Notes

Extension point and plugins of the window of constructions without a more specific window ("Empty Construction").

Fields

Name Type Description
EmptyConstructionEowExtensionPoint ExtensionPoint<EmptyConstructionWidgetPluginParams> Extension point of the construction window; register plugins with a resource of type "react-plugin ::EmptyConstructionEowExtensionPoint". used 1× in the base game
NotificationPlugin Recipe<EmptyConstructionWidgetPluginParams> Notification cards of the construction (EntityWindowUtil.NotificationWidget); registered with order 0.

EmptyConstructionEow.EmptyConstructionWidgetPluginParams

record base/tealdef/gui/entity_window/empty_construction/empty_construction_eow.d.tl:4

record EmptyConstructionWidgetPluginParams is EowExtensionUtil.IEowWidgetsExtensionParams

Notes

Parameters passed to the plugins of the construction window.

Used in the base game: 2 times in 2 files

base/content/gui/gui/entity_window/empty_construction/empty_construction.tl:28

local extensionParams : EmptyConstructionEow.EmptyConstructionWidgetPluginParams = {
base/content/gui/gui/entity_window/empty_construction/empty_construction_eow.script.tl:9
empty_construction_eow.NotificationPlugin = react.RegisterPluginRecipe(empty_construction_eow.EmptyConstructionEowExtensionPoint, "NotificationPlugin", function