Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
struct | RequiredItemEntry |
Public Member Functions | |
void | RequireGroup (string name) |
void | RequireGroup (int id) |
bool | ProcessGroupsForText (int type, out string theText) |
bool | AcceptsGroup (int groupId) |
bool | AcceptedByItemGroups (int invType, int reqType) |
Item | AddCustomShimmerResult (int itemType, int itemStack=1) |
Recipe () | |
void | Create () |
bool | useWood (int invType, int reqType) |
bool | useIronBar (int invType, int reqType) |
bool | useSand (int invType, int reqType) |
bool | useFragment (int invType, int reqType) |
bool | usePressurePlate (int invType, int reqType) |
void | SetIngredients (params int[] ingredients) |
void | SetCraftingStation (params int[] tileIDs) |
bool | ContainsIngredient (int itemType) |
Static Public Member Functions | |
static void | GetThroughDelayedFindRecipes () |
static void | FindRecipes (bool canDelayCheck=false) |
static bool | CollectedEnoughItemsToCraftRecipeOld (Recipe tempRec) |
static bool | CollectedEnoughItemsToCraftRecipeNew (Recipe tempRec) |
static void | ClearAvailableRecipes () |
static void | SetupRecipeGroups () |
static void | UpdateItemVariants () |
static void | SetupRecipes () |
static void | UpdateWhichItemsAreMaterials () |
static void | UpdateWhichItemsAreCrafted () |
static int | GetRequiredTileStyle (int tileID) |
Public Attributes | |
Item | createItem = new Item() |
Item[] | requiredItem = new Item[maxRequirements] |
int[] | requiredTile = new int[maxRequirements] |
int[] | acceptedGroups = new int[maxRequirements] |
List< Item > | customShimmerResults |
bool | needHoney |
bool | needWater |
bool | needLava |
bool | anyWood |
bool | anyIronBar |
bool | anyPressurePlate |
bool | anySand |
bool | anyFragment |
bool | alchemy |
bool | needSnowBiome |
bool | needGraveyardBiome |
bool | needEverythingSeed |
bool | notDecraftable |
bool | crimson |
bool | corruption |
Static Public Attributes | |
static int | maxRequirements = 15 |
static int | maxRecipes = 3000 |
static int | numRecipes |
Private Member Functions | |
void | ReplaceItemUseFlagWithGroup (ref bool flag, int groupId) |
Private Attributes | |
RequiredItemEntry[] | requiredItemQuickLookup = new RequiredItemEntry[maxRequirements] |
Static Private Attributes | |
static Recipe | currentRecipe = new Recipe() |
static bool | _hasDelayedFindRecipes |
static Dictionary< int, int > | _ownedItems = new Dictionary<int, int>() |