tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.GameContent.UI.EmoteBubble Class Reference

Public Member Functions

 EmoteBubble (int emotion, WorldUIAnchor bubbleAnchor, int time=180)
 
void PickNPCEmote (WorldUIAnchor other=null)
 

Static Public Member Functions

static int AssignNewID ()
 
static void CheckForNPCsToReactToEmoteBubble (int emoteID, Player player)
 
static WorldUIAnchor DeserializeNetAnchor (int type, int meta)
 
static void DrawAll (SpriteBatch sb)
 
static void MakeLocalPlayerEmote (int emoteId)
 
static int NewBubble (int emoticon, WorldUIAnchor bubbleAnchor, int time)
 
static int NewBubbleNPC (WorldUIAnchor bubbleAnchor, int time, WorldUIAnchor other=null)
 
static void OnBubbleChange (int bubbleID)
 
static Tuple< int, int > SerializeNetAnchor (WorldUIAnchor anch)
 
static void UpdateAll ()
 

Public Attributes

WorldUIAnchor anchor
 
int emote
 
int frame
 
int frameCounter
 
int ID
 
int lifeTime
 
int lifeTimeStart
 
int metadata
 

Static Public Attributes

static Dictionary< int, EmoteBubblebyID = new Dictionary<int, EmoteBubble>()
 
const int EMOTE_SHEET_EMOTES_PER_ROW = 4
 
const int EMOTE_SHEET_HORIZONTAL_FRAMES = 8
 
const int EMOTE_SHEET_VERTICAL_FRAMES = 39
 
static int NextID