Table of Contents

Class Emote

Namespace
TinyLife.Actions
Assembly
Tiny Life.dll

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

Emote

Apple

public static readonly Emote Apple

Field Value

Emote

Bowling

public static readonly Emote Bowling

Field Value

Emote

BrokenHeart

public static readonly Emote BrokenHeart

Field Value

Emote

Bug

public static readonly Emote Bug

Field Value

Emote

Burger

public static readonly Emote Burger

Field Value

Emote

Cake

public static readonly Emote Cake

Field Value

Emote

Cat

public static readonly Emote Cat

Field Value

Emote

Categories

A combined EmoteCategory flag that determines the categories that this emote belongs to

public readonly EmoteCategory Categories

Field Value

EmoteCategory

Clock

public static readonly Emote Clock

Field Value

Emote

Coffee

public static readonly Emote Coffee

Field Value

Emote

Controller

public static readonly Emote Controller

Field Value

Emote

Cutlery

public static readonly Emote Cutlery

Field Value

Emote

Dice

public static readonly Emote Dice

Field Value

Emote

EightBall

public static readonly Emote EightBall

Field Value

Emote

EmptyBattery

public static readonly Emote EmptyBattery

Field Value

Emote

FireExtinguisher

public static readonly Emote FireExtinguisher

Field Value

Emote

FullBattery

public static readonly Emote FullBattery

Field Value

Emote

Gift

public static readonly Emote Gift

Field Value

Emote

Handcuffs

public static readonly Emote Handcuffs

Field Value

Emote

Happy

public static readonly Emote Happy

Field Value

Emote

Heart

public static readonly Emote Heart

Field Value

Emote

House

public static readonly Emote House

Field Value

Emote

LightBulb

public static readonly Emote LightBulb

Field Value

Emote

Lollipop

public static readonly Emote Lollipop

Field Value

Emote

Medal

public static readonly Emote Medal

Field Value

Emote

Money

public static readonly Emote Money

Field Value

Emote

MovieClapper

public static readonly Emote MovieClapper

Field Value

Emote

MusicNote

public static readonly Emote MusicNote

Field Value

Emote

NoBrain

public static readonly Emote NoBrain

Field Value

Emote

OhNo

public static readonly Emote OhNo

Field Value

Emote

Painting

public static readonly Emote Painting

Field Value

Emote

Party

public static readonly Emote Party

Field Value

Emote

Path

public static readonly Emote Path

Field Value

Emote

Pushpin

public static readonly Emote Pushpin

Field Value

Emote

Relaxed

public static readonly Emote Relaxed

Field Value

Emote

Skateboard

public static readonly Emote Skateboard

Field Value

Emote

Sleep

public static readonly Emote Sleep

Field Value

Emote

Smile

public static readonly Emote Smile

Field Value

Emote

Stonks

public static readonly Emote Stonks

Field Value

Emote

Texture

The texture that is displayed for this emote

public readonly TextureRegion Texture

Field Value

TextureRegion

Tick

public static readonly Emote Tick

Field Value

Emote

Trophy

public static readonly Emote Trophy

Field Value

Emote

Workout

public static readonly Emote Workout

Field Value

Emote

X

public static readonly Emote X

Field Value

Emote

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 Map

The map to draw on.

depthPos Vector2

The depth position.

floor float

The floor to display the emote on.

batch SpriteBatch

The sprite batch to use for drawing.

drawPos Vector2

The position, in draw space, to draw this furniture at

thought bool

Whether the emote is a thought bubble, rather than a speech bubble.

parent ParentInfo

The 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 EmoteCategory

The 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 TextureRegion

The texture that this emote should display.

categories EmoteCategory

The categories that this emote should have. Can be a combined flag.

Returns

Emote