Space Engineers
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Sandbox.MySandboxExternal Class Reference
Inheritance diagram for Sandbox.MySandboxExternal:
Sandbox.MySandboxGame Sandbox.Engine.Platform.Game

Public Member Functions

 MySandboxExternal (IExternalApp externalApp, VRageGameServices services, string[] commandlineArgs, IntPtr windowHandle)
 
override void SwitchSettings (MyRenderDeviceSettings settings)
 
- Public Member Functions inherited from Sandbox.MySandboxGame
 MySandboxGame (VRageGameServices services, string[] commandlineArgs)
 
void Run (bool customRenderLoop=false, Action disposeSplashScreen=null)
 
void EndLoop ()
 
void Invoke (Action action)
 Invokes the specified action on main thread. More...
 
void ClearInvokeQueue ()
 
void SetMouseVisible (bool visible)
 
void Dispose ()
 
- Public Member Functions inherited from Sandbox.Engine.Platform.Game
 Game ()
 Initializes a new instance of the Game class. More...
 
void SetNextFrameDelayDelta (int delta)
 
void Exit ()
 Exits the game. More...
 
void RunSingleFrame ()
 

Public Attributes

readonly IExternalApp ExternalApp
 
- Public Attributes inherited from Sandbox.MySandboxGame
MyGameRenderComponent GameRenderComponent
 
MySessionCompatHelper SessionCompatHelper = null
 
- Public Attributes inherited from Sandbox.Engine.Platform.Game
long FrameTimeTicks
 

Protected Member Functions

override void StartRenderComponent (MyRenderDeviceSettings?settings)
 
override void Update ()
 Reference page contains links to related conceptual articles. More...
 
- Protected Member Functions inherited from Sandbox.MySandboxGame
virtual void InitInput ()
 
virtual void InitSteamWorkshop ()
 
virtual IMyRenderWindow InitializeRenderThread ()
 
void RenderThread_SizeChanged (int width, int height, MyViewport viewport)
 
void RenderThread_BeforeDraw ()
 
void CheckGraphicsCard (MyRenderMessageVideoAdaptersResponse msgVideoAdapters)
 
virtual void Initialize ()
 
virtual void LoadGui ()
 
override void Update ()
 Reference page contains links to related conceptual articles. More...
 
override void LoadData_UpdateThread ()
 
override void UnloadData_UpdateThread ()
 
override void PrepareForDraw ()
 
- Protected Member Functions inherited from Sandbox.Engine.Platform.Game
void RunLoop ()
 Updates the game's clock and calls Update More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Sandbox.MySandboxGame
static void AfterLogos ()
 
static void UpdateScreenSize (int width, int height, MyViewport viewport)
 
static void ForceStaticCtor (Type[] types)
 
static void StartPreload ()
 
static void PausePush ()
 
static void PausePop ()
 
static void PauseToggle ()
 
static void AssertUpdateThread ()
 
static void ProcessRenderOutput ()
 Safe to anytime from update thread, synchronized internally More...
 
static void ExitThreadSafe ()
 
static void ReloadDedicatedServerSession ()
 
- Static Public Attributes inherited from Sandbox.MySandboxGame
static readonly MyStringId DirectX11RendererKey = MyStringId.GetOrCompute("DirectX 11")
 
static Version BuildVersion = Assembly.GetExecutingAssembly().GetName().Version
 
static DateTime BuildDateTime = new DateTime(2000, 1, 1).AddDays(BuildVersion.Build).AddSeconds(BuildVersion.Revision * 2)
 Build time of GameLib. Local time (without DST) of machine which build the assembly. More...
 
static MySandboxGame Static
 
static Vector2I ScreenSize
 
static Vector2I ScreenSizeHalf
 
static MyViewport ScreenViewport
 
static bool IsUpdateReady = true
 
static bool IsConsoleVisible = false
 
static bool IsReloading = false
 
static bool FatalErrorDuringInit = false
 
static readonly MyLog Log = new MyLog()
 
static int NumberOfCores
 
static bool ShowIsBetterGCAvailableNotification = false
 
static bool ShowGpuUnderMinimumNotification = false
 
static MyConfig Config
 
static IMyConfigDedicated ConfigDedicated
 
static IntPtr GameWindowHandle
 
- Static Public Attributes inherited from Sandbox.Engine.Platform.Game
static bool IsDedicated = false
 
static bool IsPirated = false
 
static bool IgnoreLastSession = false
 
static IPEndPoint ConnectToServer = null
 
static bool EnableSimSpeedLocking = false
 
- Static Protected Member Functions inherited from Sandbox.MySandboxGame
static void AddDefaultGameControl (Dictionary< MyStringId, MyControl > self, MyGuiControlTypeEnum controlTypeEnum, MyStringId controlId, MyMouseButtonsEnum?mouse=null, MyKeys?key=null, MyKeys?key2=null)
 
- Protected Attributes inherited from Sandbox.MySandboxGame
IMyBufferedInputSource m_bufferedInputSource
 
Action< bool > m_setMouseVisible
 
- Protected Attributes inherited from Sandbox.Engine.Platform.Game
readonly MyGameTimer m_gameTimer = new MyGameTimer()
 
- Static Protected Attributes inherited from Sandbox.MySandboxGame
static ManualResetEvent m_windowCreatedEvent = new ManualResetEvent(false)
 
- Properties inherited from Sandbox.MySandboxGame
static bool IsDirectX11 [get]
 
static bool IsGameReady [get]
 
static bool IsPreloading [get]
 
static bool AreClipmapsReady [get, set]
 
static VRageGameServices Services [get]
 
static int TotalGamePlayTimeInMilliseconds [get]
 
static int TotalTimeInMilliseconds [get]
 
static double SecondsSinceLastFrame [get]
 
IntPtr WindowHandle [get, protected set]
 
bool EnableDamageEffects [get, set]
 
static IGameCustomInitialization GameCustomInitialization [get, set]
 
static bool IsPaused [get]
 
static IErrorConsumer ErrorConsumer [get, set]
 
- Properties inherited from Sandbox.Engine.Platform.Game
MyTimeSpan DrawTime [get]
 
MyTimeSpan UpdateTime [get]
 
MyTimeSpan SimulationTime [get]
 
double TimerMultiplier [get, set]
 
Thread UpdateThread [get, protected set]
 
Thread DrawThread [get, protected set]
 
static float SimulationRatio [get]
 
bool IsActive [get]
 Gets a value indicating whether this instance is active. More...
 
bool IsRunning [get]
 Gets a value indicating whether is running. More...
 
bool IsFirstUpdateDone [get]
 
bool EnableMaxSpeed [get, set]
 
- Events inherited from Sandbox.MySandboxGame
EventHandler OnGameLoaded
 
EventHandler OnScreenshotTaken
 
- Events inherited from Sandbox.Engine.Platform.Game
Action OnGameExit
 

Detailed Description

Definition at line 21 of file MySandboxExternal.cs.

Constructor & Destructor Documentation

Sandbox.MySandboxExternal.MySandboxExternal ( IExternalApp  externalApp,
VRageGameServices  services,
string[]  commandlineArgs,
IntPtr  windowHandle 
)
inline

Definition at line 29 of file MySandboxExternal.cs.

Member Function Documentation

override void Sandbox.MySandboxExternal.StartRenderComponent ( MyRenderDeviceSettings settings)
inlineprotectedvirtual

Reimplemented from Sandbox.MySandboxGame.

Definition at line 46 of file MySandboxExternal.cs.

override void Sandbox.MySandboxExternal.SwitchSettings ( MyRenderDeviceSettings  settings)
inlinevirtual

Reimplemented from Sandbox.MySandboxGame.

Definition at line 39 of file MySandboxExternal.cs.

override void Sandbox.MySandboxExternal.Update ( )
inlineprotectedvirtual

Reference page contains links to related conceptual articles.

Parameters
gameTimeTime passed since the last call to Update.

Reimplemented from Sandbox.Engine.Platform.Game.

Definition at line 114 of file MySandboxExternal.cs.

Member Data Documentation

readonly IExternalApp Sandbox.MySandboxExternal.ExternalApp

Definition at line 23 of file MySandboxExternal.cs.


The documentation for this class was generated from the following file: