Skip to content

mission_end_window_util

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

Notes

GUI content of the window shown at the end of a mission (stars, medals, success).

MissionEndWindowUtil

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

global record MissionEndWindowUtil

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

Notes

GUI of the mission-end window.

Fields

Name Type Description
MissionEndWindowContent Recipe<MissionEndWindowContentParam> Recipe of the mission-end window content. used 1× in the base game

MissionEndWindowUtil.MissionEndWindowContentParam

record base/tealdef/mission/mission_framework/mission_end_window_util.d.tl:4

record MissionEndWindowContentParam

Notes

Params of the mission-end window content.

Used in the base game: 1 time in 1 file

base/content/mission/mission/mission_framework/mission_end_window_util.tl:22

mission_end_window_util.MissionEndWindowContent = react.RegisterRecipe("MissionEndWindowContent", function(param : MissionEndWindowUtil.MissionEndWindowContentP

Fields

Name Type Description
stars {string : boolean} Star ids and whether they were earned.
medals {string : boolean} Medal ids and whether they were earned.
success boolean The mission was won.
isTutorial boolean The finished mission is the tutorial.

Functions

onClose(?boolean) base/tealdef/mission/mission_framework/mission_end_window_util.d.tl:9

Notes

Closes the window.