![]() |
tModLoader v2025.03
A mod to make and play Terraria mods
|
Used to construct the key for this "named ID set". Must be chained with a RegisterXSet
method to create and register the set for sharing.
More...
Public Member Functions | |
NamedSetKey | Description (string description) |
Adds a description to this named ID set. This description serves to communicate to other mod makers interested in interfacing with this set what the entries in the set mean and what your mod does with entries in the set. Multiple mods can register a description and they will all be available to view. Modders can use the "/customsets" chat command to output a complete listing of descriptions for all named ID sets to "CustomSets.txt" in the logs directory. | |
bool[] | RegisterBoolSet (bool defaultState, params int[] types) |
bool[] | RegisterBoolSet (params int[] types) |
T[] | RegisterCustomSet< T > (T defaultState, params object[] inputs) |
float[] | RegisterFloatSet (float defaultState, params float[] inputs) |
int[] | RegisterIntSet (int defaultState, params int[] inputs) |
int[] | RegisterIntSet (params int[] types) |
ushort[] | RegisterUshortSet (ushort defaultState, params ushort[] inputs) |
Used to construct the key for this "named ID set". Must be chained with a RegisterXSet
method to create and register the set for sharing.