tModLoader v2024.10
A mod to make and play Terraria mods
Program Class Reference

Static Public Member Functions

static void ForceLoadThread (object threadContext)
 
static void LaunchGame (string[] args, bool monoArgs=false)
 
static void LaunchGame_ (bool isServer)
 
static void RunGame ()
 
static void StartForceLoad ()
 

Static Public Attributes

const string DevFolder = "tModLoader-dev"
 
static bool IsFna = true
 
static bool IsMono = Type.GetType("Mono.Runtime") != null
 
static bool IsXna = false
 
static IntPtr JitForcedMethodCache
 
static Dictionary< string, string > LaunchParameters = new Dictionary<string, string>()
 
const string Legacy143Folder = "tModLoader-1.4.3"
 
static bool LoadedEverything
 
const string PreviewFolder = "tModLoader-preview"
 
const string ReleaseFolder = "tModLoader"
 
static string SavePath
 
const string TerrariaSaveFolderPath = "Terraria"
 

Properties

static bool IsMainThread [get]
 
static float LoadedPercentage [get]
 
static Thread MainThread [get]
 
static string SaveFolderName [get]
 
static string SavePathShared [get]