Skip to content

mission_framework_react

Source: base/tealdef/mission/mission_framework/mission_framework_react.d.tl

Notes

GUI of the mission window (task list and task details).

MissionFrameworkReact

record global base/tealdef/mission/mission_framework/mission_framework_react.d.tl:3

global record MissionFrameworkReact

Load: local mission_framework_react = ug_require "/mission/mission_framework/mission_framework_react.tl"

Notes

GUI of the mission window.

Fields

Name Type Description
MissionTaskList Recipe<GameContext> Recipe of the list of open tasks. used 1× in the base game

Functions

makeMissionWindowContent(tagPrefix : string, nonEntity : string, gameCtx : GameContext, isMapEditor : boolean, isSandboxMode : boolean, setActionFnAndProxy : {function(actionFn? : (function() : TreeNodeId), key2? : string), any}, closeFnAndProxy : {function(), any}, extraParam : any) : ViewManager.MakeEntityWindowResult base/tealdef/mission/mission_framework/mission_framework_react.d.tl:7

Call as mission_framework_react.makeMissionWindowContent

Notes

Builds the content of the mission window (task list and task details).

Returns ViewManager.MakeEntityWindowResult

Used in the base game: 1 time in 1 file

base/content/gui/gui/entity_window/make_non_entity_window.tl:19

return mission_framework_react.makeMissionWindowContent(tagPrefix, nonEntity, gameCtx, isMapEditor, isSandboxMode, setActionFnAndProxy, closeFnAndProxy, extraPa