C# Class Terraria.GameContent.UI.EmoteBubble

Datei anzeigen Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
ID int
NextID int
anchor WorldUIAnchor
byID EmoteBubble>.Dictionary
emote int
frame int
frameCounter int
lifeTime int
lifeTimeStart int
metadata int

Public Methods

Method Description
AssignNewID ( ) : int
DeserializeNetAnchor ( int type, int meta ) : WorldUIAnchor
DrawAll ( SpriteBatch sb ) : void
EmoteBubble ( int emotion, WorldUIAnchor bubbleAnchor, int time = 180 ) : Microsoft.Xna.Framework
NewBubble ( int emoticon, WorldUIAnchor bubbleAnchor, int time ) : int
NewBubbleNPC ( WorldUIAnchor bubbleAnchor, int time, WorldUIAnchor other = null ) : int
PickNPCEmote ( WorldUIAnchor other = null ) : void
SerializeNetAnchor ( WorldUIAnchor anch ) : int>.Tuple
UpdateAll ( ) : void

Private Methods

Method Description
Draw ( SpriteBatch sb ) : void
GetPosition ( SpriteEffects &effect ) : Vector2
ProbeBiomes ( List list, Player plr ) : void
ProbeBosses ( List list ) : void
ProbeCombat ( List list ) : void
ProbeCritters ( List list ) : void
ProbeDebuffs ( List list, Player plr ) : void
ProbeEmotions ( List list ) : void
ProbeEvents ( List list ) : void
ProbeExceptions ( List list, Player plr, WorldUIAnchor other ) : void
ProbeItems ( List list, Player plr ) : void
ProbeTownNPCs ( List list ) : void
ProbeWeather ( List list, Player plr ) : void
Update ( ) : void

Method Details

AssignNewID() public static method

public static AssignNewID ( ) : int
return int

DeserializeNetAnchor() public static method

public static DeserializeNetAnchor ( int type, int meta ) : WorldUIAnchor
type int
meta int
return WorldUIAnchor

DrawAll() public static method

public static DrawAll ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

EmoteBubble() public method

public EmoteBubble ( int emotion, WorldUIAnchor bubbleAnchor, int time = 180 ) : Microsoft.Xna.Framework
emotion int
bubbleAnchor WorldUIAnchor
time int
return Microsoft.Xna.Framework

NewBubble() public static method

public static NewBubble ( int emoticon, WorldUIAnchor bubbleAnchor, int time ) : int
emoticon int
bubbleAnchor WorldUIAnchor
time int
return int

NewBubbleNPC() public static method

public static NewBubbleNPC ( WorldUIAnchor bubbleAnchor, int time, WorldUIAnchor other = null ) : int
bubbleAnchor WorldUIAnchor
time int
other WorldUIAnchor
return int

PickNPCEmote() public method

public PickNPCEmote ( WorldUIAnchor other = null ) : void
other WorldUIAnchor
return void

SerializeNetAnchor() public static method

public static SerializeNetAnchor ( WorldUIAnchor anch ) : int>.Tuple
anch WorldUIAnchor
return int>.Tuple

UpdateAll() public static method

public static UpdateAll ( ) : void
return void

Property Details

ID public_oe property

public int ID
return int

NextID public_oe static_oe property

public static int NextID
return int

anchor public_oe property

public WorldUIAnchor,Terraria.GameContent.UI anchor
return WorldUIAnchor

byID public_oe static_oe property

public static Dictionary byID
return EmoteBubble>.Dictionary

emote public_oe property

public int emote
return int

frame public_oe property

public int frame
return int

frameCounter public_oe property

public int frameCounter
return int

lifeTime public_oe property

public int lifeTime
return int

lifeTimeStart public_oe property

public int lifeTimeStart
return int

metadata public_oe property

public int metadata
return int