tModLoader v2024.11
A mod to make and play Terraria mods
UnlockableNPCEntryIcon Class Reference

Inherits IEntryIcon.

Public Member Functions

 UnlockableNPCEntryIcon (int npcNetId, float ai0=0f, float ai1=0f, float ai2=0f, float ai3=0f, string overrideNameKey=null)
 
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 UnlockableNPCEntryIcon.CreateClone ( )

Implements IEntryIcon.

◆ Draw()

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

Implements IEntryIcon.

◆ GetHoverText()

string UnlockableNPCEntryIcon.GetHoverText ( BestiaryUICollectionInfo  providedInfo)

Implements IEntryIcon.

◆ GetUnlockState()

bool UnlockableNPCEntryIcon.GetUnlockState ( BestiaryUICollectionInfo  providedInfo)

Implements IEntryIcon.

◆ Update()

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

Implements IEntryIcon.