terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
GUIBestiary Class Reference
+ Collaboration diagram for GUIBestiary:

Public Member Functions

 GUIBestiary ()
 
void DrawButton ()
 
void Close ()
 
void SetSearchTerm (string term)
 
void Open ()
 
void Draw ()
 

Static Public Member Functions

static void LoadContent ()
 

Public Attributes

BestiaryEntry SelectedEntry
 
float ScrollOffset
 
List< BestiaryEntrySortedEntries
 
float LootScrollOffset
 
List< bool > filterEnabled
 
bool Enabled
 
bool OpenedFromInv
 

Private Member Functions

void NPCDraw (ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
 
float NPCScale (int index)
 
void NPCOver (int index)
 
void RefreshEntries ()
 
int SortCompare (BestiaryEntry x, BestiaryEntry y)
 
void DrawFilterSearch ()
 
void CloseSearchInput ()
 
bool IsOverLoot (Microsoft.Xna.Framework.Vector2 cursorPosition)
 
bool IsOverOrders (Microsoft.Xna.Framework.Vector2 cursorPosition)
 
bool IsOverFilters (Microsoft.Xna.Framework.Vector2 cursorPosition)
 
void DrawLootDrops ()
 
void DrawProgressBar ()
 
void RefreshPercentUnlocked ()
 
void FilterDraw (ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
 
void FilterOver (int index)
 
float FilterScale (int index)
 
void DrawFilters ()
 
void OrderDraw (ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
 
void OrderOver (int index)
 
float OrderScale (int index)
 
void DrawOrders ()
 
NamePlateInfoElement GetName (BestiaryEntry entry)
 
IBestiaryEntryDisplayIndex GetDisplayIndex (BestiaryEntry entry)
 
NPCPortraitInfoElement GetNPCPortraitInfo (BestiaryEntry entry)
 
NPCStatsReportInfoElement GetNPCStatsInfo (BestiaryEntry entry)
 
void RefreshSelectedStats ()
 
FlavorTextBestiaryInfoElement GetNPCFlavourInfo (BestiaryEntry entry)
 
IPreferenceProviderElement GetPreferenceProvider (BestiaryEntry entry)
 
List< IBestiaryBackgroundImagePathAndColorProviderGetBackgroundImageProviders (BestiaryEntry entry)
 
List< IBestiaryBackgroundOverlayAndColorProviderGetBackgroundOverlayProviders (BestiaryEntry entry)
 
int SortBackgroundOverlayElements (IBestiaryBackgroundOverlayAndColorProvider x, IBestiaryBackgroundOverlayAndColorProvider y)
 
List< FilterProviderInfoElementGetFilterProviders (BestiaryEntry entry)
 
List< ItemDropBestiaryInfoElementGetDropProviders (BestiaryEntry entry)
 
void UpdateBackgroundImages (BestiaryEntry entry)
 
void DrawImageBackgrounds (Rectangle region, BestiaryEntry entry)
 
float StarScale (int index)
 
void StarOver (int index)
 
void StarDraw (ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
 
float DropScale (int index)
 
void DropOver (int index)
 
void SetBestiaryNotesOnItemCache (DropRateInfo info)
 
void DropDraw (ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
 
float SpawnScale (int index)
 
void SpawnOver (int index)
 
void SpawnDraw (ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
 
void DrawCoins ()
 
void DrawSelectedEntry ()
 
void CloseLootDrops ()
 
void CloseFilters ()
 
void CloseSortOrder ()
 

Static Private Member Functions

static GUIBestiary ()
 

Private Attributes

GUIControllerBestiary _controllerInput
 
float bestiaryButtonScale
 
float TitleScale
 
float BackScale
 
GUIItemGrid.CursorOver npcItemOver
 
GUIItemGrid.GetItemScaleHandler npcScale
 
GUIItemGrid.DrawItemHandler npcDraw
 
int EntryOver
 
float ScrollMomentum
 
int ScrollDragging
 
Microsoft.Xna.Framework.Vector2 DragOffset
 
EntrySorter< BestiaryEntry, IBestiarySortStep_sorter
 
bool editingSearch
 
string searchTerm
 
string editDisplaySearch
 
float BeginSearchScale
 
ISearchFilter< BestiaryEntrysearchFilter
 
int ActiveFilterCount
 
int SelectedSort
 
float LootScrollMomentum
 
int LootScrollDragging
 
Microsoft.Xna.Framework.Vector2 LootDragOffset
 
List< Microsoft.Xna.Framework.Graphics.Texture2DfilterTexture
 
List< string > filterName
 
List< RectanglefilterFrame
 
List< bool > filterAvailable
 
GUIInputRegionExclusive _lootBlocker
 
int unlockedEntries
 
bool displayFilters
 
bool displayOrders
 
float filtersScale
 
float ordersScale
 
GUIItemGrid.CursorOver filterItemOver
 
GUIItemGrid.GetItemScaleHandler filterScale
 
GUIItemGrid.DrawItemHandler filterDraw
 
int filterOver
 
GUIInputRegionExclusive _filterBlocker
 
GUIItemGrid.CursorOver orderItemOver
 
GUIItemGrid.GetItemScaleHandler orderScale
 
GUIItemGrid.DrawItemHandler orderDraw
 
int orderOver
 
GUIInputRegionExclusive _orderBlocker
 
List< IBestiaryBackgroundImagePathAndColorProviderBackgroundImageProviders
 
List< IBestiaryBackgroundOverlayAndColorProviderBackgroundOverlayProviders
 
List< FilterProviderInfoElementFilterProviders
 
List< ItemDropBestiaryInfoElementDropProviders
 
BestiaryEntry backgroundEntry
 
int backgroundImageCount
 
Microsoft.Xna.Framework.Graphics.Texture2D[] backgroundImage
 
Microsoft.Xna.Framework.Graphics.Color[] backgroundColour
 
GUIItemGrid.CursorOver starOver
 
GUIItemGrid.GetItemScaleHandler starScale
 
GUIItemGrid.DrawItemHandler starDraw
 
int starCount
 
GUIItemGrid.CursorOver dropOver
 
GUIItemGrid.GetItemScaleHandler dropScale
 
GUIItemGrid.DrawItemHandler dropDraw
 
int DropItemOver
 
int SelectedDropItem
 
Item dropItemInfo
 
int dropCount
 
GUIItemGrid.CursorOver spawnOver
 
GUIItemGrid.GetItemScaleHandler spawnScale
 
GUIItemGrid.DrawItemHandler spawnDraw
 
int spawnCount
 
bool drawLootDrops
 
NPCStatsReportInfoElement dummyStatsInfo
 

Static Private Attributes

static Microsoft.Xna.Framework.Graphics.Texture2D lockedIcon
 
static Microsoft.Xna.Framework.Graphics.Texture2D iconRankLight
 
static Microsoft.Xna.Framework.Graphics.Texture2D iconRankDim
 
static Microsoft.Xna.Framework.Graphics.Texture2D iconTagsShadow
 
static Texture_Layout sortIconBackup
 
static Texture_Layout sortIconBackup2
 
static StringBuilder sb
 

Detailed Description

Definition at line 23 of file GUIBestiary.cs.


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