Class Emote
An emote is a graphic that can be displayed in a bubble over a PersonLike, usually as part of a conversation.
public class Emote
- Inheritance
-
Emote
- Inherited Members
- Extension Methods
Fields
Angry
public static readonly Emote Angry
Field Value
Apple
public static readonly Emote Apple
Field Value
Bowling
public static readonly Emote Bowling
Field Value
BrokenHeart
public static readonly Emote BrokenHeart
Field Value
Bug
public static readonly Emote Bug
Field Value
Burger
public static readonly Emote Burger
Field Value
Cake
public static readonly Emote Cake
Field Value
Cat
public static readonly Emote Cat
Field Value
Categories
A combined EmoteCategory flag that determines the categories that this emote belongs to
public readonly EmoteCategory Categories
Field Value
Clock
public static readonly Emote Clock
Field Value
Coffee
public static readonly Emote Coffee
Field Value
Controller
public static readonly Emote Controller
Field Value
Cutlery
public static readonly Emote Cutlery
Field Value
Dice
public static readonly Emote Dice
Field Value
EightBall
public static readonly Emote EightBall
Field Value
EmptyBattery
public static readonly Emote EmptyBattery
Field Value
FireExtinguisher
public static readonly Emote FireExtinguisher
Field Value
FullBattery
public static readonly Emote FullBattery
Field Value
Gift
public static readonly Emote Gift
Field Value
Handcuffs
public static readonly Emote Handcuffs
Field Value
Happy
public static readonly Emote Happy
Field Value
Heart
public static readonly Emote Heart
Field Value
House
public static readonly Emote House
Field Value
LightBulb
public static readonly Emote LightBulb
Field Value
Lollipop
public static readonly Emote Lollipop
Field Value
Medal
public static readonly Emote Medal
Field Value
Money
public static readonly Emote Money
Field Value
MovieClapper
public static readonly Emote MovieClapper
Field Value
MusicNote
public static readonly Emote MusicNote
Field Value
NoBrain
public static readonly Emote NoBrain
Field Value
OhNo
public static readonly Emote OhNo
Field Value
Painting
public static readonly Emote Painting
Field Value
Party
public static readonly Emote Party
Field Value
Path
public static readonly Emote Path
Field Value
Pushpin
public static readonly Emote Pushpin
Field Value
Relaxed
public static readonly Emote Relaxed
Field Value
Skateboard
public static readonly Emote Skateboard
Field Value
Sleep
public static readonly Emote Sleep
Field Value
Smile
public static readonly Emote Smile
Field Value
Stonks
public static readonly Emote Stonks
Field Value
Texture
The texture that is displayed for this emote
public readonly TextureRegion Texture
Field Value
- TextureRegion
Tick
public static readonly Emote Tick
Field Value
Trophy
public static readonly Emote Trophy
Field Value
Workout
public static readonly Emote Workout
Field Value
X
public static readonly Emote X
Field Value
Methods
Draw(Map, Vector2, float, SpriteBatch, Vector2, bool, ParentInfo)
Draws the emote.
public void Draw(Map map, Vector2 depthPos, float floor, SpriteBatch batch, Vector2 drawPos, bool thought, ParentInfo parent = default)
Parameters
map
MapThe map to draw on.
depthPos
Vector2The depth position.
floor
floatThe floor to display the emote on.
batch
SpriteBatchThe sprite batch to use for drawing.
drawPos
Vector2The position, in draw space, to draw this furniture at
thought
boolWhether the emote is a thought bubble, rather than a speech bubble.
parent
ParentInfoThe emote holder's parent info.
GetEmotes(EmoteCategory)
Returns a set of all of the emotes in the given combined category flag
public static IEnumerable<Emote> GetEmotes(EmoteCategory possibleCategories)
Parameters
possibleCategories
EmoteCategoryThe categories
Returns
- IEnumerable<Emote>
A set of all emotes that match the categories
Register(TextureRegion, EmoteCategory)
Registers a new Emote with the given settings.
public static Emote Register(TextureRegion texture, EmoteCategory categories)
Parameters
texture
TextureRegionThe texture that this emote should display.
categories
EmoteCategoryThe categories that this emote should have. Can be a combined flag.