Terraria ModLoader
A mod to make and play Terraria mods
ModConfig.cs File Reference

Go to the source code of this file.


class  Terraria.ModLoader.Config.ModConfig
 ModConfig provides a way for mods to be configurable. ModConfigs can either be Client specific or Server specific. When joining a MP server, Client configs are kept but Server configs are synced from the server. Using serialization attributes such as [DefaultValue(5)] or [JsonIgnore] are critical for proper usage of ModConfig. tModLoader also provides its own attributes such as ReloadRequiredAttribute and LabelAttribute. More...


namespace  Terraria.ModLoader.Config


enum  Terraria.ModLoader.Config.ConfigScope { Terraria.ModLoader.Config.ConfigScope.ServerSide, Terraria.ModLoader.Config.ConfigScope.ClientSide }
 Each ModConfig class has a different scope. Failure to use the correct mode will lead to bugs. More...