tModLoader v2024.09
A mod to make and play Terraria mods
CustomEntryIcon Class Reference

Inherits 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 CustomEntryIcon.CreateClone ( )

Implements IEntryIcon.

◆ Draw()

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

Implements IEntryIcon.

◆ GetHoverText()

string CustomEntryIcon.GetHoverText ( BestiaryUICollectionInfo  providedInfo)

Implements IEntryIcon.

◆ GetUnlockState()

bool CustomEntryIcon.GetUnlockState ( BestiaryUICollectionInfo  providedInfo)

Implements IEntryIcon.

◆ Update()

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

Implements IEntryIcon.