The extension context is a native (C++) object created for each registered Editor Extension, when a player connection is established with the server. A registered extension activation or deactivation closure is accompanied by an [ExtensionContext] object, which provides a player specific, editor extension specific context. The Extension Context is the main interface to all the bound Editor Services. As more player services are added to the editor, they will be exposed through this object

Hierarchy

  • ExtensionContext

Constructors

Properties

clipboardManager: ClipboardManager

Remarks

This is used to access the players Clipboard Manager and the main interface through which the player can create, modify and apply clipboard items

cursor: Cursor

Remarks

This is used to access the players 3D block cursor and it's properties

extensionName: string

Remarks

The short unique name with which this extension was registered

player: Player

Remarks

The current player which is the subject of the extension invocation

playtest: PlaytestManager
selectionManager: SelectionManager

Remarks

The instance of the players Selection Manager and the main interface through which the player can create/modify selections

transactionManager: TransactionManager

Remarks

The instance of the players Transaction Manager and the main interface through which the creator can create transaction records, and undo/redo previous transactions