Click or drag to resize
MyAPIGateway Class
v01.180.0 (Beta)

[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 (1.0.0.0)
Syntax
public static class MyAPIGateway

The MyAPIGateway type exposes the following members.

Methods
  NameDescription
Public methodStatic memberClean Obsolete.
Public methodStatic memberDoorBase Obsolete.
Public methodStatic memberGetMessageBoxPointer Obsolete.
Top
Fields
  NameDescription
Public fieldStatic memberCubeBuilder
IMyCubeBuilder represents building hand
Public fieldStatic memberGui
IMyGui exposes some useful values from the GUI systems
Public fieldStatic memberGuiControlCreated Obsolete.
Event triggered on gui control created.
Public fieldStatic memberIngameScripting
Provides mod access to control compilation of ingame scripts
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 background threads
Public fieldStatic memberPhysics
IMyPhysics contains physics related things (CastRay, etc.)
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
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
See Also