Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
EmoteBubble (int emotion, WorldUIAnchor bubbleAnchor, int time=180) | |
void | PickNPCEmote (WorldUIAnchor other=null) |
Static Public Member Functions | |
static void | UpdateAll () |
static void | DrawAll (SpriteBatch sb) |
static Tuple< int, int > | SerializeNetAnchor (WorldUIAnchor anch) |
static WorldUIAnchor | DeserializeNetAnchor (int type, int meta) |
static int | AssignNewID () |
static int | NewBubble (int emoticon, WorldUIAnchor bubbleAnchor, int time) |
static int | NewBubbleNPC (WorldUIAnchor bubbleAnchor, int time, WorldUIAnchor other=null) |
static void | CheckForNPCsToReactToEmoteBubble (int emoteID, Player player) |
static void | OnBubbleChange (int bubbleID) |
static void | MakeLocalPlayerEmote (int emoteId) |
Public Attributes | |
int | ID |
WorldUIAnchor | anchor |
int | lifeTime |
int | lifeTimeStart |
int | emote |
int | metadata |
int | frameCounter |
int | frame |
Static Public Attributes | |
static Dictionary< int, EmoteBubble > | byID = new Dictionary<int, EmoteBubble>() |
static int | NextID |
const int | EMOTE_SHEET_HORIZONTAL_FRAMES = 8 |
const int | EMOTE_SHEET_EMOTES_PER_ROW = 4 |
static readonly int | EMOTE_SHEET_VERTICAL_FRAMES = 2 + (EmoteID.Count - 1) / 4 |
Private Member Functions | |
void | Update () |
void | Draw (SpriteBatch sb) |
Vector2 | GetPosition (out SpriteEffects effect) |
void | ProbeCombat (List< int > list) |
void | ProbeWeather (List< int > list, Player plr) |
void | ProbeEvents (List< int > list) |
void | ProbeDebuffs (List< int > list, Player plr) |
void | ProbeItems (List< int > list, Player plr) |
void | ProbeTownNPCs (List< int > list) |
void | ProbeBiomes (List< int > list, Player plr) |
void | ProbeCritters (List< int > list) |
void | ProbeEmotions (List< int > list) |
void | ProbeBosses (List< int > list) |
void | ProbeExceptions (List< int > list, Player plr, WorldUIAnchor other) |
Static Private Attributes | |
static int[] | CountNPCs = new int[NPCID.Count] |
static List< int > | toClean = new List<int>() |
const int | frameSpeed = 8 |
Definition at line 10 of file EmoteBubble.cs.