Native Hud Component Factory
class NativeHudComponentFactory(val name: String, val enabled: Boolean = false, val singleton: Boolean = false, function: () -> HudComponent) : HudComponentFactory
Factory for creating native components from a function.
Parameters
name
Component name
enabled
Whether the component is enabled
function
Function producing the component
Constructors
Link copied to clipboard
constructor(name: String, enabled: Boolean = false, singleton: Boolean = false, function: () -> HudComponent)