Class RuntimeEnv
- Namespace
- Vintagestory.API.Config
- Assembly
- VintagestoryAPI.dll
Information about the runningtime environment
public static class RuntimeEnv
- Inheritance
-
RuntimeEnv
- Inherited Members
Fields
DebugOutOfRangeBlockAccess
If true, will print the stack trace on some of the blockaccessor if something attempts to get or set blocks outside of its available chunks
public static bool DebugOutOfRangeBlockAccess
Field Value
DebugSoundDispose
Debug sound memory leaks. No ENV var
public static bool DebugSoundDispose
Field Value
DebugTextureDispose
If TEXTURE_DEBUG_DISPOSE is set, the initial value set here will be overridden
public static bool DebugTextureDispose
Field Value
DebugThreadPool
If true, will print allocation trace whenever a new task was enqueued to the thread pool
public static bool DebugThreadPool
Field Value
DebugVAODispose
If VAO_DEBUG_DISPOSE is set, the initial value set here will be overridden
public static bool DebugVAODispose
Field Value
EnvSearchPathName
The Env variable which contains the OS specific search paths for libarires
public static readonly string EnvSearchPathName
Field Value
GUIScale
public static float GUIScale
Field Value
IsDevEnvironment
Whether we are in a dev environment or not
public static readonly bool IsDevEnvironment
Field Value
IsWaylandSession
This will only be set to true on Linux when the session is a wayland session This is needed so we can skip adding a app Icon or setting the cursor postion since those are not supported on wayland
public static readonly bool IsWaylandSession
Field Value
MainThreadId
public static int MainThreadId
Field Value
OS
The current operating system
public static readonly OS OS
Field Value
ServerMainThreadId
public static int ServerMainThreadId
Field Value
Methods
GetLocalIpAddress()
public static string GetLocalIpAddress()
Returns
GetOsString()
public static string GetOsString()