tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.GameContent.Bestiary.CustomEntryIcon Class Reference

Inherits Terraria.GameContent.Bestiary.IEntryIcon.

Public Member Functions

 CustomEntryIcon (string nameLanguageKey, string texturePath, Func< bool > unlockCondition)
 
IEntryIcon CreateClone ()
 
void Draw (BestiaryUICollectionInfo providedInfo, SpriteBatch spriteBatch, EntryIconDrawSettings settings)
 
string GetHoverText (BestiaryUICollectionInfo providedInfo)
 
bool GetUnlockState (BestiaryUICollectionInfo providedInfo)
 
void Update (BestiaryUICollectionInfo providedInfo, Rectangle hitbox, EntryIconDrawSettings settings)
 
IEntryIcon CreateClone ()
 
void Draw (BestiaryUICollectionInfo providedInfo, SpriteBatch spriteBatch, EntryIconDrawSettings settings)
 
string GetHoverText (BestiaryUICollectionInfo providedInfo)
 
bool GetUnlockState (BestiaryUICollectionInfo providedInfo)
 
void Update (BestiaryUICollectionInfo providedInfo, Rectangle hitbox, EntryIconDrawSettings settings)
 

Member Function Documentation

◆ CreateClone()

IEntryIcon Terraria.GameContent.Bestiary.CustomEntryIcon.CreateClone ( )

◆ Draw()

void Terraria.GameContent.Bestiary.CustomEntryIcon.Draw ( BestiaryUICollectionInfo  providedInfo,
SpriteBatch  spriteBatch,
EntryIconDrawSettings  settings 
)

◆ GetHoverText()

string Terraria.GameContent.Bestiary.CustomEntryIcon.GetHoverText ( BestiaryUICollectionInfo  providedInfo)

◆ GetUnlockState()

bool Terraria.GameContent.Bestiary.CustomEntryIcon.GetUnlockState ( BestiaryUICollectionInfo  providedInfo)

◆ Update()

void Terraria.GameContent.Bestiary.CustomEntryIcon.Update ( BestiaryUICollectionInfo  providedInfo,
Rectangle  hitbox,
EntryIconDrawSettings  settings 
)