![]() |
tModLoader v2024.07
A mod to make and play Terraria mods
|
Allows for types to be registered with legacy/alias names for lookup via ModContent.Find<T>(string) and similar methods.
When manually loading content, use ModTypeLookup<T>.RegisterLegacyNames(T, string[]) instead.
More...
Inherits Attribute.
Public Member Functions | |
LegacyNameAttribute (params string[] names) | |
Static Public Member Functions | |
static IEnumerable< string > | GetLegacyNamesOfType (Type type) |
Public Attributes | |
readonly string[] | Names |
Allows for types to be registered with legacy/alias names for lookup via ModContent.Find<T>(string) and similar methods.
When manually loading content, use ModTypeLookup<T>.RegisterLegacyNames(T, string[]) instead.