Table of Contents

Struct TextEmotionSource

Namespace
TinyLife.Emotions
Assembly
TinyLife.dll

A text emotion source is an IEmotionSource instance that isn't strictly connected to an object, but rather just a localized string. The information saved to disk for this emotion source is just the key of the localized string, and no additional arguments are stored.

[DataContract]
public readonly struct TextEmotionSource : IEmotionSource
Implements
Inherited Members
Extension Methods

Constructors

TextEmotionSource(string)

Creates a new text emotion source with the given localization key.

public TextEmotionSource(string sourceStringKey)

Parameters

sourceStringKey string

The localization key.

Properties

SourceString

A (localized) string that is displayed when hovering over an EmotionModifier that has this source

public string SourceString { get; }

Property Value

string