Terraria ModLoader  0.11.4
A framework for Terraria mods
Terraria.ModLoader.ModContent Class Reference

Manages content added by mods. Liasons between mod content and Terraria's arrays and oversees the Loader classes. More...

+ Collaboration diagram for Terraria.ModLoader.ModContent:

Static Public Member Functions

static bool FileExists (string name)
 Returns whether or not a file with the specified name exists. More...
 
static EquipTexture GetEquipTexture (EquipType type, int slot)
 Gets the equipment texture for the specified equipment type and ID. More...
 
static byte[] GetFileBytes (string name)
 Gets the byte representation of the file with the specified name. The name is in the format of "ModFolder/OtherFolders/FileNameWithExtension". Throws an ArgumentException if the file does not exist. More...
 
static int GetModBackgroundSlot (string texture)
 Returns the slot/ID of the background texture with the given name. More...
 
static int GetModBossHeadSlot (string texture)
 Gets the index of the boss head texture corresponding to the given texture path. More...
 
static ModBuff GetModBuff (int type)
 Gets the ModBuff instance with the given type. If no ModBuff with the given type exists, returns null. More...
 
static ModDust GetModDust (int type)
 Gets the ModDust instance with the given type. Returns null if no ModDust with the given type exists. More...
 
static int GetModHeadSlot (string texture)
 Gets the index of the head texture corresponding to the given texture path. More...
 
static ModItem GetModItem (int type)
 Gets the ModItem instance corresponding to the specified type. Returns null if no modded item has the given type. More...
 
static ModMountData GetModMountData (int type)
 Gets the ModMountData instance corresponding to the given type. Returns null if no ModMountData has the given type. More...
 
static ModNPC GetModNPC (int type)
 Gets the ModNPC instance corresponding to the specified type. More...
 
static ModProjectile GetModProjectile (int type)
 Gets the ModProjectile instance corresponding to the specified type. More...
 
static ModSurfaceBgStyle GetModSurfaceBgStyle (int style)
 Returns the ModSurfaceBgStyle object with the given ID. More...
 
static ModTile GetModTile (int type)
 Gets the ModTile instance with the given type. If no ModTile with the given type exists, returns null. More...
 
static ModUgBgStyle GetModUgBgStyle (int style)
 Returns the ModUgBgStyle object with the given ID. More...
 
static ModWall GetModWall (int type)
 Gets the ModWall instance with the given type. If no ModWall with the given type exists, returns null. More...
 
static ModWaterfallStyle GetModWaterfallStyle (int style)
 Returns the ModWaterfallStyle with the given ID. More...
 
static ModWaterStyle GetModWaterStyle (int style)
 Returns the ModWaterStyle with the given ID. More...
 
static Music GetMusic (string name)
 Gets the music with the specified name. The name is in the same format as for texture names. Throws an ArgumentException if the music does not exist. Note: SoundMP3 is in the Terraria.ModLoader namespace. More...
 
static SoundEffect GetSound (string name)
 Gets the sound with the specified name. The name is in the same format as for texture names. Throws an ArgumentException if the sound does not exist. Note: SoundEffect is in the Microsoft.Xna.Framework.Audio namespace. More...
 
static Texture2D GetTexture (string name)
 Gets the texture with the specified name. The name is in the format of "ModFolder/OtherFolders/FileNameWithoutExtension". Throws an ArgumentException if the texture does not exist. If a vanilla texture is desired, the format "Terraria/FileNameWithoutExtension" will reference an image from the "terraria/Content/Images" folder. Note: Texture2D is in the Microsoft.Xna.Framework.Graphics namespace. More...
 
static bool MusicExists (string name)
 Returns whether or not a sound with the specified name exists. More...
 
static Stream OpenRead (string assetName, bool newFileStream=false)
 
static void RefreshModLanguage (GameCulture culture)
 
static bool SoundExists (string name)
 Returns whether or not a sound with the specified name exists. More...
 
static void SplitName (string name, out string domain, out string subName)
 
static bool TextureExists (string name)
 Returns whether or not a texture with the specified name exists. More...
 

Static Private Member Functions

static void CacheVanillaState ()
 
static void DisposeMusic ()
 
static void LoadModContent (CancellationToken token, Action< Mod > loadAction)
 
static void ResizeArrays (bool unloading=false)
 
static LocalizedText SetLocalizedText (Dictionary< string, LocalizedText > dict, LocalizedText value)
 
static void SetupRecipes (CancellationToken token)
 

Static Private Attributes

static readonly string ImagePath = "Content" + Path.DirectorySeparatorChar + "Images"
 

Detailed Description

Manages content added by mods. Liasons between mod content and Terraria's arrays and oversees the Loader classes.

Definition at line 23 of file ModContent.cs.

Member Function Documentation

static void Terraria.ModLoader.ModContent.CacheVanillaState ( )
staticprivate

Definition at line 340 of file ModContent.cs.

340  {
341  EffectsTracker.CacheVanillaState();
342  }
static void Terraria.ModLoader.ModContent.DisposeMusic ( )
staticprivate

Definition at line 526 of file ModContent.cs.

References Terraria.ModLoader.ModItem.item, and Terraria.ModLoader.ModNPC.npc.

526  {
527  foreach (var music in Main.music.OfType<MusicStreaming>())
528  music.Dispose();
529  }
static bool Terraria.ModLoader.ModContent.FileExists ( string  name)
static

Returns whether or not a file with the specified name exists.

Definition at line 56 of file ModContent.cs.

References Terraria.ModLoader.Mod.FileExists(), and Terraria.ModLoader.ModLoader.GetMod().

56  {
57  if (!name.Contains('/'))
58  return false;
59 
60  string modName, subName;
61  SplitName(name, out modName, out subName);
62 
63  Mod mod = ModLoader.GetMod(modName);
64  return mod != null && mod.FileExists(subName);
65  }
static void SplitName(string name, out string domain, out string subName)
Definition: ModContent.cs:29

+ Here is the call graph for this function:

static EquipTexture Terraria.ModLoader.ModContent.GetEquipTexture ( EquipType  type,
int  slot 
)
static

Gets the equipment texture for the specified equipment type and ID.

Parameters
type
slot
Returns
static byte [] Terraria.ModLoader.ModContent.GetFileBytes ( string  name)
static

Gets the byte representation of the file with the specified name. The name is in the format of "ModFolder/OtherFolders/FileNameWithExtension". Throws an ArgumentException if the file does not exist.

Exceptions
MissingResourceExceptionMissing mod: " + name

Definition at line 42 of file ModContent.cs.

References Terraria.ModLoader.Mod.GetFileBytes(), and Terraria.ModLoader.ModLoader.GetMod().

42  {
43  string modName, subName;
44  SplitName(name, out modName, out subName);
45 
46  Mod mod = ModLoader.GetMod(modName);
47  if (mod == null)
48  throw new MissingResourceException("Missing mod: " + name);
49 
50  return mod.GetFileBytes(subName);
51  }
static void SplitName(string name, out string domain, out string subName)
Definition: ModContent.cs:29

+ Here is the call graph for this function:

static int Terraria.ModLoader.ModContent.GetModBackgroundSlot ( string  texture)
static

Returns the slot/ID of the background texture with the given name.

static int Terraria.ModLoader.ModContent.GetModBossHeadSlot ( string  texture)
static

Gets the index of the boss head texture corresponding to the given texture path.

Parameters
texture
Returns
static ModBuff Terraria.ModLoader.ModContent.GetModBuff ( int  type)
static

Gets the ModBuff instance with the given type. If no ModBuff with the given type exists, returns null.

static ModDust Terraria.ModLoader.ModContent.GetModDust ( int  type)
static

Gets the ModDust instance with the given type. Returns null if no ModDust with the given type exists.

static int Terraria.ModLoader.ModContent.GetModHeadSlot ( string  texture)
static

Gets the index of the head texture corresponding to the given texture path.

Parameters
textureRelative texture path
Returns
The index of the texture in the heads array, -1 if not found.
static ModItem Terraria.ModLoader.ModContent.GetModItem ( int  type)
static

Gets the ModItem instance corresponding to the specified type. Returns null if no modded item has the given type.

static ModMountData Terraria.ModLoader.ModContent.GetModMountData ( int  type)
static

Gets the ModMountData instance corresponding to the given type. Returns null if no ModMountData has the given type.

Parameters
typeThe type of the mount.
Returns
Null if not found, otherwise the ModMountData associated with the mount.
static ModNPC Terraria.ModLoader.ModContent.GetModNPC ( int  type)
static

Gets the ModNPC instance corresponding to the specified type.

Parameters
typeThe type of the npc
Returns
The ModNPC instance in the npcs array, null if not found.
static ModProjectile Terraria.ModLoader.ModContent.GetModProjectile ( int  type)
static

Gets the ModProjectile instance corresponding to the specified type.

Parameters
typeThe type of the projectile
Returns
The ModProjectile instance in the projectiles array, null if not found.
static ModSurfaceBgStyle Terraria.ModLoader.ModContent.GetModSurfaceBgStyle ( int  style)
static

Returns the ModSurfaceBgStyle object with the given ID.

static ModTile Terraria.ModLoader.ModContent.GetModTile ( int  type)
static

Gets the ModTile instance with the given type. If no ModTile with the given type exists, returns null.

Parameters
typeThe type of the ModTile
Returns
The ModTile instance in the tiles array, null if not found.
static ModUgBgStyle Terraria.ModLoader.ModContent.GetModUgBgStyle ( int  style)
static

Returns the ModUgBgStyle object with the given ID.

static ModWall Terraria.ModLoader.ModContent.GetModWall ( int  type)
static

Gets the ModWall instance with the given type. If no ModWall with the given type exists, returns null.

static ModWaterfallStyle Terraria.ModLoader.ModContent.GetModWaterfallStyle ( int  style)
static

Returns the ModWaterfallStyle with the given ID.

static ModWaterStyle Terraria.ModLoader.ModContent.GetModWaterStyle ( int  style)
static

Returns the ModWaterStyle with the given ID.

static Music Terraria.ModLoader.ModContent.GetMusic ( string  name)
static

Gets the music with the specified name. The name is in the same format as for texture names. Throws an ArgumentException if the music does not exist. Note: SoundMP3 is in the Terraria.ModLoader namespace.

Exceptions
MissingResourceExceptionMissing mod: " + name

Definition at line 172 of file ModContent.cs.

References Terraria.ModLoader.ModLoader.GetMod(), and Terraria.ModLoader.Mod.GetMusic().

Referenced by Terraria.ModLoader.SoundLoader.GetSoundSlot().

172  {
173  if (Main.dedServ) { return null; }
174  string modName, subName;
175  SplitName(name, out modName, out subName);
176  Mod mod = ModLoader.GetMod(modName);
177  if (mod == null) { throw new MissingResourceException("Missing mod: " + name); }
178  return mod.GetMusic(subName);
179  }
static void SplitName(string name, out string domain, out string subName)
Definition: ModContent.cs:29

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SoundEffect Terraria.ModLoader.ModContent.GetSound ( string  name)
static

Gets the sound with the specified name. The name is in the same format as for texture names. Throws an ArgumentException if the sound does not exist. Note: SoundEffect is in the Microsoft.Xna.Framework.Audio namespace.

Exceptions
MissingResourceExceptionMissing mod: " + name

Definition at line 140 of file ModContent.cs.

References Terraria.ModLoader.ModLoader.GetMod(), and Terraria.ModLoader.Mod.GetSound().

Referenced by Terraria.ModLoader.Mod.AddSound(), and Terraria.ModLoader.SoundLoader.GetSoundSlot().

140  {
141  if (Main.dedServ)
142  return null;
143 
144  string modName, subName;
145  SplitName(name, out modName, out subName);
146 
147  Mod mod = ModLoader.GetMod(modName);
148  if (mod == null)
149  throw new MissingResourceException("Missing mod: " + name);
150 
151  return mod.GetSound(subName);
152  }
static void SplitName(string name, out string domain, out string subName)
Definition: ModContent.cs:29

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Texture2D Terraria.ModLoader.ModContent.GetTexture ( string  name)
static

Gets the texture with the specified name. The name is in the format of "ModFolder/OtherFolders/FileNameWithoutExtension". Throws an ArgumentException if the texture does not exist. If a vanilla texture is desired, the format "Terraria/FileNameWithoutExtension" will reference an image from the "terraria/Content/Images" folder. Note: Texture2D is in the Microsoft.Xna.Framework.Graphics namespace.

Exceptions
MissingResourceExceptionMissing mod: " + name

Definition at line 71 of file ModContent.cs.

References Terraria.ModLoader.ModLoader.GetMod().

Referenced by Terraria.ModLoader.Mod.AddBackgroundTexture(), Terraria.ModLoader.Mod.AddBossHeadTexture(), Terraria.ModLoader.Mod.AddDust(), Terraria.ModLoader.Mod.AddEquipTexture(), Terraria.ModLoader.Mod.AddMount(), Terraria.ModLoader.Mod.AddNPCHeadTexture(), Terraria.ModLoader.ModProjectile.AutoStaticDefaults(), Terraria.ModLoader.ModItem.AutoStaticDefaults(), Terraria.ModLoader.ModNPC.AutoStaticDefaults(), Terraria.ModLoader.EquipLoader.GetEquipTexture(), Terraria.ModLoader.ModGore.GetGoreSlot(), and Terraria.ModLoader.Mod.LoadMusic().

71  {
72  if (Main.dedServ)
73  return null;
74 
75  string modName, subName;
76  SplitName(name, out modName, out subName);
77  if (modName == "Terraria")
78  return Main.instance.Content.Load<Texture2D>("Images" + Path.DirectorySeparatorChar + subName);
79 
80  Mod mod = ModLoader.GetMod(modName);
81  if (mod == null)
82  throw new MissingResourceException("Missing mod: " + name);
83 
84  return mod.GetTexture(subName);
85  }
static void SplitName(string name, out string domain, out string subName)
Definition: ModContent.cs:29

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void Terraria.ModLoader.ModContent.LoadModContent ( CancellationToken  token,
Action< Mod loadAction 
)
staticprivate

Definition at line 345 of file ModContent.cs.

References Terraria.ModLoader.ModLoader.Mods.

345  {
346  MemoryTracking.Checkpoint();
347  int num = 0;
348  foreach (var mod in ModLoader.Mods) {
349  token.ThrowIfCancellationRequested();
350  Interface.loadModsProgress.SetCurrentMod(num++, $"{mod.Name} v{mod.Version}");
351  try {
352  LoadingMod = mod;
353  loadAction(mod);
354  }
355  catch (Exception e) {
356  e.Data["mod"] = mod.Name;
357  throw;
358  }
359  finally {
360  LoadingMod = null;
361  MemoryTracking.Update(mod.Name);
362  }
363  }
364  }
static Stream Terraria.ModLoader.ModContent.OpenRead ( string  assetName,
bool  newFileStream = false 
)
static

Definition at line 564 of file ModContent.cs.

References Terraria.ModLoader.Mod.GetFileStream(), and Terraria.ModLoader.ModLoader.GetMod().

Referenced by Terraria.ModLoader.Audio.MusicStreaming.EnsureLoaded().

564  {
565  if (!assetName.StartsWith("tmod:"))
566  return File.OpenRead(assetName);
567 
568  SplitName(assetName.Substring(5).Replace('\\', '/'), out var modName, out var entryPath);
569  return ModLoader.GetMod(modName).GetFileStream(entryPath, newFileStream);
570  }
static void SplitName(string name, out string domain, out string subName)
Definition: ModContent.cs:29

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void Terraria.ModLoader.ModContent.RefreshModLanguage ( GameCulture  culture)
static

Definition at line 472 of file ModContent.cs.

References Terraria.ModLoader.ModBuff.Description, Terraria.ModLoader.ModBuff.DisplayName, Terraria.ModLoader.ModNPC.DisplayName, Terraria.ModLoader.ModItem.DisplayName, Terraria.ModLoader.ModProjectile.DisplayName, Terraria.ModLoader.ModPrefix.DisplayName, Terraria.ModLoader.ModTranslation.GetTranslation(), Terraria.ModLoader.ModItem.item, Terraria.ModLoader.ModTranslation.Key, Terraria.ModLoader.ModLoader.Mods, Terraria.ModLoader.ModNPC.npc, Terraria.ModLoader.ModProjectile.projectile, Terraria.ModLoader.ModItem.Tooltip, Terraria.ModLoader.ModBuff.Type, and Terraria.ModLoader.ModPrefix.Type.

472  {
473  Dictionary<string, LocalizedText> dict = LanguageManager.Instance._localizedTexts;
474  foreach (ModItem item in ItemLoader.items) {
475  LocalizedText text = new LocalizedText(item.DisplayName.Key, item.DisplayName.GetTranslation(culture));
476  Lang._itemNameCache[item.item.type] = SetLocalizedText(dict, text);
477  text = new LocalizedText(item.Tooltip.Key, item.Tooltip.GetTranslation(culture));
478  if (text.Value != null) {
479  text = SetLocalizedText(dict, text);
480  Lang._itemTooltipCache[item.item.type] = ItemTooltip.FromLanguageKey(text.Key);
481  }
482  }
483  foreach (ModPrefix prefix in ModPrefix.prefixes) {
484  LocalizedText text = new LocalizedText(prefix.DisplayName.Key, prefix.DisplayName.GetTranslation(culture));
485  Lang.prefix[prefix.Type] = SetLocalizedText(dict, text);
486  }
487  foreach (var keyValuePair in MapLoader.tileEntries) {
488  foreach (MapEntry entry in keyValuePair.Value) {
489  if (entry.translation != null) {
490  LocalizedText text = new LocalizedText(entry.translation.Key, entry.translation.GetTranslation(culture));
491  SetLocalizedText(dict, text);
492  }
493  }
494  }
495  foreach (var keyValuePair in MapLoader.wallEntries) {
496  foreach (MapEntry entry in keyValuePair.Value) {
497  if (entry.translation != null) {
498  LocalizedText text = new LocalizedText(entry.translation.Key, entry.translation.GetTranslation(culture));
499  SetLocalizedText(dict, text);
500  }
501  }
502  }
503  foreach (ModProjectile proj in ProjectileLoader.projectiles) {
504  LocalizedText text = new LocalizedText(proj.DisplayName.Key, proj.DisplayName.GetTranslation(culture));
505  Lang._projectileNameCache[proj.projectile.type] = SetLocalizedText(dict, text);
506  }
507  foreach (ModNPC npc in NPCLoader.npcs) {
508  LocalizedText text = new LocalizedText(npc.DisplayName.Key, npc.DisplayName.GetTranslation(culture));
509  Lang._npcNameCache[npc.npc.type] = SetLocalizedText(dict, text);
510  }
511  foreach (ModBuff buff in BuffLoader.buffs) {
512  LocalizedText text = new LocalizedText(buff.DisplayName.Key, buff.DisplayName.GetTranslation(culture));
513  Lang._buffNameCache[buff.Type] = SetLocalizedText(dict, text);
514  text = new LocalizedText(buff.Description.Key, buff.Description.GetTranslation(culture));
515  Lang._buffDescriptionCache[buff.Type] = SetLocalizedText(dict, text);
516  }
517  foreach (Mod mod in ModLoader.Mods) {
518  foreach (ModTranslation translation in mod.translations.Values) {
519  LocalizedText text = new LocalizedText(translation.Key, translation.GetTranslation(culture));
520  SetLocalizedText(dict, text);
521  }
522  }
523  LanguageManager.Instance.ProcessCopyCommandsInTexts();
524  }
static LocalizedText SetLocalizedText(Dictionary< string, LocalizedText > dict, LocalizedText value)
Definition: ModContent.cs:287

+ Here is the call graph for this function:

static void Terraria.ModLoader.ModContent.ResizeArrays ( bool  unloading = false)
staticprivate

Definition at line 444 of file ModContent.cs.

444  {
445  ItemLoader.ResizeArrays(unloading);
446  EquipLoader.ResizeAndFillArrays();
447  ModPrefix.ResizeArrays();
448  Main.InitializeItemAnimations();
449  ModDust.ResizeArrays();
450  TileLoader.ResizeArrays(unloading);
451  WallLoader.ResizeArrays(unloading);
452  ProjectileLoader.ResizeArrays();
453  NPCLoader.ResizeArrays(unloading);
454  NPCHeadLoader.ResizeAndFillArrays();
455  ModGore.ResizeAndFillArrays();
456  SoundLoader.ResizeAndFillArrays();
457  MountLoader.ResizeArrays();
458  BuffLoader.ResizeArrays();
459  PlayerHooks.RebuildHooks();
460  BackgroundTextureLoader.ResizeAndFillArrays();
461  UgBgStyleLoader.ResizeAndFillArrays();
462  SurfaceBgStyleLoader.ResizeAndFillArrays();
463  GlobalBgStyleLoader.ResizeAndFillArrays(unloading);
464  WaterStyleLoader.ResizeArrays();
465  WaterfallStyleLoader.ResizeArrays();
466  WorldHooks.ResizeArrays();
467  foreach (LocalizedText text in LanguageManager.Instance._localizedTexts.Values) {
468  text.Override = null;
469  }
470  }
static LocalizedText Terraria.ModLoader.ModContent.SetLocalizedText ( Dictionary< string, LocalizedText >  dict,
LocalizedText  value 
)
staticprivate

Definition at line 287 of file ModContent.cs.

References Terraria.ModLoader.Mod.Load(), Terraria.ModLoader.Mod.LoadResources(), Terraria.ModLoader.ModLoader.Mods, Terraria.ModLoader.Mod.Name, and Terraria.ModLoader.Mod.PostSetupContent().

287  {
288  if (dict.ContainsKey(value.Key)) {
289  dict[value.Key].SetValue(value.Value);
290  }
291  else {
292  dict[value.Key] = value;
293  }
294  return dict[value.Key];
295  }

+ Here is the call graph for this function:

static void Terraria.ModLoader.ModContent.SetupRecipes ( CancellationToken  token)
staticprivate

Definition at line 366 of file ModContent.cs.

References Terraria.ModLoader.Console, and Terraria.ModLoader.ModLoader.Mods.

366  {
367  Interface.loadModsProgress.SetLoadStage("tModLoader.MSAddingRecipes");
368  for (int k = 0; k < Recipe.maxRecipes; k++) {
369  token.ThrowIfCancellationRequested();
370  Main.recipe[k] = new Recipe();
371  }
372 
373  Recipe.numRecipes = 0;
374  RecipeGroupHelper.ResetRecipeGroups();
375  Recipe.SetupRecipes();
376  }
static bool Terraria.ModLoader.ModContent.SoundExists ( string  name)
static

Returns whether or not a sound with the specified name exists.

Definition at line 157 of file ModContent.cs.

References Terraria.ModLoader.ModLoader.GetMod(), and Terraria.ModLoader.Mod.SoundExists().

157  {
158  if (!name.Contains('/'))
159  return false;
160 
161  string modName, subName;
162  SplitName(name, out modName, out subName);
163 
164  Mod mod = ModLoader.GetMod(modName);
165  return mod != null && mod.SoundExists(subName);
166  }
static void SplitName(string name, out string domain, out string subName)
Definition: ModContent.cs:29

+ Here is the call graph for this function:

static void Terraria.ModLoader.ModContent.SplitName ( string  name,
out string  domain,
out string  subName 
)
static

Definition at line 29 of file ModContent.cs.

29  {
30  int slash = name.IndexOf('/');
31  if (slash < 0)
32  throw new MissingResourceException("Missing mod qualifier: " + name);
33 
34  domain = name.Substring(0, slash);
35  subName = name.Substring(slash + 1);
36  }
static bool Terraria.ModLoader.ModContent.TextureExists ( string  name)
static

Returns whether or not a texture with the specified name exists.

Definition at line 90 of file ModContent.cs.

References Terraria.ModLoader.ModLoader.GetMod(), and Terraria.ModLoader.Mod.TextureExists().

Referenced by Terraria.ModLoader.Mod.AddEquipTexture(), Terraria.ModLoader.Mod.AddMount(), and Terraria.ModLoader.ModItem.AutoStaticDefaults().

90  {
91  if (!name.Contains('/'))
92  return false;
93 
94  string modName, subName;
95  SplitName(name, out modName, out subName);
96 
97  if (modName == "Terraria")
98  return File.Exists(ImagePath + Path.DirectorySeparatorChar + subName + ".xnb");
99 
100  Mod mod = ModLoader.GetMod(modName);
101  return mod != null && mod.TextureExists(subName);
102  }
static void SplitName(string name, out string domain, out string subName)
Definition: ModContent.cs:29
static readonly string ImagePath
Definition: ModContent.cs:25

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

readonly string Terraria.ModLoader.ModContent.ImagePath = "Content" + Path.DirectorySeparatorChar + "Images"
staticprivate

Definition at line 25 of file ModContent.cs.