Click or drag to resize
IMyTerminalControlsCustomControlGetter Event

[This is preliminary documentation and is subject to change.]

This event allows you to modify the list of controls that the game displays when a user selects a block. Each time terminal controls are enumerated for a block, this delegate is called, which allows you to modify the control list directly, and remove/add as you see fit before the controls are dispalyed. This is to allow fine grain control of the controls being displayed, so you can display only controls you want to in specific situations (like blocks with different subtypes, or even on specific blocks by entityId)

Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0
Syntax
C#
event CustomControlGetDelegate CustomControlGetter

Value

Type: Sandbox.ModAPICustomControlGetDelegate
See Also