hudIconMaster¶
Source: base/tealdef/gui/main/hudIconMaster.d.tl
Notes
Older declaration of the HUD icon parameter types. The base game uses the identical
types from HudIconToolbox (gui/main/hud_icon_toolbox).
HudIconMaster¶
record global base/tealdef/gui/main/hudIconMaster.d.tl:3
global record HudIconMaster
Notes
Types for HUD icons; same as the ones in HudIconToolbox, which the base game uses.
HudIconMaster.Happiness¶
record base/tealdef/gui/main/hudIconMaster.d.tl:4
record Happiness
Notes
Waiting passengers at a station or terminal, used by the station HUD icon.
Fields
| Name | Type | Description |
|---|---|---|
totalWaiting |
integer |
Number of passengers waiting. |
unhappy |
integer |
Number of waiting passengers with bad quality (unhappy). |
HudIconMaster.HudIconMasterUserParam¶
interface base/tealdef/gui/main/hudIconMaster.d.tl:9
interface HudIconMasterUserParam
Notes
User parameter passed to HUD icon recipes.
Fields
| Name | Type | Description |
|---|---|---|
selectedEntity |
Engine.Entity |
Currently selected entity. |
Functions
accessNotificationCacheFn(Engine.Entity) : {Notification} base/tealdef/gui/main/hudIconMaster.d.tl:10
Notes
Returns the notifications of an entity, shown as notification icons next to the HUD icon.
Returns {Notification}