TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches
Terraria.ModLoader.PrefixLoader Class Reference
+ Collaboration diagram for Terraria.ModLoader.PrefixLoader:

Static Public Member Functions

static ModPrefix GetPrefix (int type)
 Returns the ModPrefix associated with specified type If not a ModPrefix, returns null.
 
static IReadOnlyList< ModPrefixGetPrefixesInCategory (PrefixCategory category)
 Returns a list of all modded prefixes of a certain category.
 
static bool CanRoll (Item item, int prefix)
 
static bool Roll (Item item, UnifiedRandom unifiedRandom, out int prefix, bool justCheck)
 
static bool IsWeaponSubCategory (PrefixCategory category)
 
static void ApplyAccessoryEffects (Player player, Item item)
 

Static Package Functions

static void RegisterPrefix (ModPrefix prefix)
 
static int ReservePrefixID ()
 
static void ResizeArrays ()
 
static void FinishSetup ()
 
static void Unload ()
 

Static Package Attributes

static readonly IList< ModPrefixprefixes
 
static readonly IDictionary< PrefixCategory, List< ModPrefix > > categoryPrefixes
 

Properties

static int PrefixCount [get, private set]
 

Static Private Member Functions

static PrefixLoader ()
 

Detailed Description

Definition at line 11 of file PrefixLoader.cs.


The documentation for this class was generated from the following file: