Click or drag to resize
MyAPIGateway Class

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

This is entry point for entire scripting possibilities in game
Inheritance Hierarchy
SystemObject
  Sandbox.ModAPIMyAPIGateway

Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0
Syntax
C#
public static class MyAPIGateway

The MyAPIGateway type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberEntities
IMyEntities represents all objects that currently in world
Public propertyStatic memberSession
IMySession represents session object e.g. current world and its settings
Top
Methods
Fields
  NameDescription
Public fieldStatic memberCubeBuilder
IMyCubeBuilder represents building hand
Public fieldStatic memberGuiControlCreated
Event triggered on gui control created.
Public fieldStatic memberInput
IMyInput allows accessing direct input device states
Public fieldStatic memberMultiplayer
IMyMultiplayer contains multiplayer related things
Public fieldStatic memberParallel
IMyParallelTask allows to run tasks on baground threads
Public fieldStatic memberPlayers
IMyPlayerCollection contains all players that are in world
Public fieldStatic memberPrefabManager
Public fieldStatic memberTerminalActionsHelper
IMyTerminalActionsHelper is helper for terminal actions and allows to access terminal
Public fieldStatic memberTerminalControls
IMyTerminalControls allows access to adding and removing controls from a block's terminal screen
Public fieldStatic memberUtilities
Top
See Also