### YamlMime:ManagedReference
items:
- uid: TinyLife.Emotions.EmotionType
commentId: T:TinyLife.Emotions.EmotionType
id: EmotionType
parent: TinyLife.Emotions
children:
- TinyLife.Emotions.EmotionType.#ctor(System.String,MLEM.Textures.TextureRegion,Microsoft.Xna.Framework.Color,TinyLife.Emotions.EmotionType.TypeCategory)
- TinyLife.Emotions.EmotionType.Angry
- TinyLife.Emotions.EmotionType.Asleep
- TinyLife.Emotions.EmotionType.Bored
- TinyLife.Emotions.EmotionType.Category
- TinyLife.Emotions.EmotionType.Color
- TinyLife.Emotions.EmotionType.Creative
- TinyLife.Emotions.EmotionType.Embarrassed
- TinyLife.Emotions.EmotionType.Energetic
- TinyLife.Emotions.EmotionType.Fine
- TinyLife.Emotions.EmotionType.Focused
- TinyLife.Emotions.EmotionType.Frisky
- TinyLife.Emotions.EmotionType.Happy
- TinyLife.Emotions.EmotionType.Icon
- TinyLife.Emotions.EmotionType.Name
- TinyLife.Emotions.EmotionType.Register(TinyLife.Emotions.EmotionType)
- TinyLife.Emotions.EmotionType.Relaxed
- TinyLife.Emotions.EmotionType.Sad
- TinyLife.Emotions.EmotionType.Stunned
- TinyLife.Emotions.EmotionType.Types
- TinyLife.Emotions.EmotionType.Uncomfortable
- TinyLife.Emotions.EmotionType.Uneasy
langs:
- csharp
- vb
name: EmotionType
nameWithType: EmotionType
fullName: TinyLife.Emotions.EmotionType
type: Class
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: EmotionType
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 18
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
summary: "\nAn emotion type is a type of feeling that a can have.\nThe emotion that a person has results from that person's applied s.\n"
example: []
syntax:
content: >-
[JsonConverter(typeof(StaticJsonConverter), new object[]{typeof(EmotionType), "PrivateTypes"})]
public class EmotionType
content.vb: >-
Public Class EmotionType
inheritance:
- System.Object
inheritedMembers:
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object,System.Object)
- System.Object.GetHashCode
- System.Object.GetType
- System.Object.MemberwiseClone
- System.Object.ReferenceEquals(System.Object,System.Object)
- System.Object.ToString
extensionMethods:
- TinyLife.Emotions.EmotionType.TinyLife.Utilities.Extensions.JsonCopy``1
modifiers.csharp:
- public
- class
modifiers.vb:
- Public
- Class
- uid: TinyLife.Emotions.EmotionType.Types
commentId: F:TinyLife.Emotions.EmotionType.Types
id: Types
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Types
nameWithType: EmotionType.Types
fullName: TinyLife.Emotions.EmotionType.Types
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Types
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 25
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
summary: "\nA registry of all instances from the game and mods\n"
example: []
syntax:
content: public static readonly ReadOnlyDictionary Types
return:
type: System.Collections.ObjectModel.ReadOnlyDictionary{System.String,TinyLife.Emotions.EmotionType}
content.vb: Public Shared ReadOnly Types As ReadOnlyDictionary(Of String, EmotionType)
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Fine
commentId: F:TinyLife.Emotions.EmotionType.Fine
id: Fine
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Fine
nameWithType: EmotionType.Fine
fullName: TinyLife.Emotions.EmotionType.Fine
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Fine
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 28
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
syntax:
content: public static readonly EmotionType Fine
return:
type: TinyLife.Emotions.EmotionType
content.vb: Public Shared ReadOnly Fine As EmotionType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Uncomfortable
commentId: F:TinyLife.Emotions.EmotionType.Uncomfortable
id: Uncomfortable
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Uncomfortable
nameWithType: EmotionType.Uncomfortable
fullName: TinyLife.Emotions.EmotionType.Uncomfortable
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Uncomfortable
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 29
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
syntax:
content: public static readonly EmotionType Uncomfortable
return:
type: TinyLife.Emotions.EmotionType
content.vb: Public Shared ReadOnly Uncomfortable As EmotionType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Asleep
commentId: F:TinyLife.Emotions.EmotionType.Asleep
id: Asleep
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Asleep
nameWithType: EmotionType.Asleep
fullName: TinyLife.Emotions.EmotionType.Asleep
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Asleep
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 30
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
syntax:
content: public static readonly EmotionType Asleep
return:
type: TinyLife.Emotions.EmotionType
content.vb: Public Shared ReadOnly Asleep As EmotionType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Happy
commentId: F:TinyLife.Emotions.EmotionType.Happy
id: Happy
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Happy
nameWithType: EmotionType.Happy
fullName: TinyLife.Emotions.EmotionType.Happy
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Happy
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 31
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
syntax:
content: public static readonly EmotionType Happy
return:
type: TinyLife.Emotions.EmotionType
content.vb: Public Shared ReadOnly Happy As EmotionType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Embarrassed
commentId: F:TinyLife.Emotions.EmotionType.Embarrassed
id: Embarrassed
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Embarrassed
nameWithType: EmotionType.Embarrassed
fullName: TinyLife.Emotions.EmotionType.Embarrassed
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Embarrassed
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 32
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
syntax:
content: public static readonly EmotionType Embarrassed
return:
type: TinyLife.Emotions.EmotionType
content.vb: Public Shared ReadOnly Embarrassed As EmotionType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Sad
commentId: F:TinyLife.Emotions.EmotionType.Sad
id: Sad
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Sad
nameWithType: EmotionType.Sad
fullName: TinyLife.Emotions.EmotionType.Sad
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sad
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 33
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
syntax:
content: public static readonly EmotionType Sad
return:
type: TinyLife.Emotions.EmotionType
content.vb: Public Shared ReadOnly Sad As EmotionType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Bored
commentId: F:TinyLife.Emotions.EmotionType.Bored
id: Bored
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Bored
nameWithType: EmotionType.Bored
fullName: TinyLife.Emotions.EmotionType.Bored
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Bored
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 34
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
syntax:
content: public static readonly EmotionType Bored
return:
type: TinyLife.Emotions.EmotionType
content.vb: Public Shared ReadOnly Bored As EmotionType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Frisky
commentId: F:TinyLife.Emotions.EmotionType.Frisky
id: Frisky
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Frisky
nameWithType: EmotionType.Frisky
fullName: TinyLife.Emotions.EmotionType.Frisky
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Frisky
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 35
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
syntax:
content: public static readonly EmotionType Frisky
return:
type: TinyLife.Emotions.EmotionType
content.vb: Public Shared ReadOnly Frisky As EmotionType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Creative
commentId: F:TinyLife.Emotions.EmotionType.Creative
id: Creative
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Creative
nameWithType: EmotionType.Creative
fullName: TinyLife.Emotions.EmotionType.Creative
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Creative
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 36
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
syntax:
content: public static readonly EmotionType Creative
return:
type: TinyLife.Emotions.EmotionType
content.vb: Public Shared ReadOnly Creative As EmotionType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Focused
commentId: F:TinyLife.Emotions.EmotionType.Focused
id: Focused
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Focused
nameWithType: EmotionType.Focused
fullName: TinyLife.Emotions.EmotionType.Focused
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Focused
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 37
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
syntax:
content: public static readonly EmotionType Focused
return:
type: TinyLife.Emotions.EmotionType
content.vb: Public Shared ReadOnly Focused As EmotionType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Stunned
commentId: F:TinyLife.Emotions.EmotionType.Stunned
id: Stunned
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Stunned
nameWithType: EmotionType.Stunned
fullName: TinyLife.Emotions.EmotionType.Stunned
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Stunned
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 38
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
syntax:
content: public static readonly EmotionType Stunned
return:
type: TinyLife.Emotions.EmotionType
content.vb: Public Shared ReadOnly Stunned As EmotionType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Angry
commentId: F:TinyLife.Emotions.EmotionType.Angry
id: Angry
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Angry
nameWithType: EmotionType.Angry
fullName: TinyLife.Emotions.EmotionType.Angry
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Angry
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 39
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
syntax:
content: public static readonly EmotionType Angry
return:
type: TinyLife.Emotions.EmotionType
content.vb: Public Shared ReadOnly Angry As EmotionType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Energetic
commentId: F:TinyLife.Emotions.EmotionType.Energetic
id: Energetic
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Energetic
nameWithType: EmotionType.Energetic
fullName: TinyLife.Emotions.EmotionType.Energetic
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Energetic
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 40
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
syntax:
content: public static readonly EmotionType Energetic
return:
type: TinyLife.Emotions.EmotionType
content.vb: Public Shared ReadOnly Energetic As EmotionType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Uneasy
commentId: F:TinyLife.Emotions.EmotionType.Uneasy
id: Uneasy
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Uneasy
nameWithType: EmotionType.Uneasy
fullName: TinyLife.Emotions.EmotionType.Uneasy
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Uneasy
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 41
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
syntax:
content: public static readonly EmotionType Uneasy
return:
type: TinyLife.Emotions.EmotionType
content.vb: Public Shared ReadOnly Uneasy As EmotionType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Relaxed
commentId: F:TinyLife.Emotions.EmotionType.Relaxed
id: Relaxed
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Relaxed
nameWithType: EmotionType.Relaxed
fullName: TinyLife.Emotions.EmotionType.Relaxed
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Relaxed
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 42
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
syntax:
content: public static readonly EmotionType Relaxed
return:
type: TinyLife.Emotions.EmotionType
content.vb: Public Shared ReadOnly Relaxed As EmotionType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Name
commentId: F:TinyLife.Emotions.EmotionType.Name
id: Name
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Name
nameWithType: EmotionType.Name
fullName: TinyLife.Emotions.EmotionType.Name
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Name
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 48
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
summary: "\nThis emotion's name\n"
example: []
syntax:
content: public readonly string Name
return:
type: System.String
content.vb: Public ReadOnly Name As String
modifiers.csharp:
- public
- readonly
modifiers.vb:
- Public
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Icon
commentId: F:TinyLife.Emotions.EmotionType.Icon
id: Icon
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Icon
nameWithType: EmotionType.Icon
fullName: TinyLife.Emotions.EmotionType.Icon
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Icon
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 52
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
summary: "\nThis emotion's icon, which is used in the portrait section for a that has this emotion\n"
example: []
syntax:
content: public readonly TextureRegion Icon
return:
type: MLEM.Textures.TextureRegion
content.vb: Public ReadOnly Icon As TextureRegion
modifiers.csharp:
- public
- readonly
modifiers.vb:
- Public
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Color
commentId: F:TinyLife.Emotions.EmotionType.Color
id: Color
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Color
nameWithType: EmotionType.Color
fullName: TinyLife.Emotions.EmotionType.Color
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Color
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 57
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
summary: "\nThe color that represents this emotion.\nThe color is used as a backdrop for instances of this type.\n"
example: []
syntax:
content: public readonly Color Color
return:
type: Microsoft.Xna.Framework.Color
content.vb: Public ReadOnly Color As Color
modifiers.csharp:
- public
- readonly
modifiers.vb:
- Public
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.Category
commentId: F:TinyLife.Emotions.EmotionType.Category
id: Category
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Category
nameWithType: EmotionType.Category
fullName: TinyLife.Emotions.EmotionType.Category
type: Field
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Category
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 62
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
summary: "\nThe that this emotion type fits into.\nThe category is used for ordering and organizing instances.\n"
example: []
syntax:
content: public readonly EmotionType.TypeCategory Category
return:
type: TinyLife.Emotions.EmotionType.TypeCategory
content.vb: Public ReadOnly Category As EmotionType.TypeCategory
modifiers.csharp:
- public
- readonly
modifiers.vb:
- Public
- ReadOnly
- uid: TinyLife.Emotions.EmotionType.#ctor(System.String,MLEM.Textures.TextureRegion,Microsoft.Xna.Framework.Color,TinyLife.Emotions.EmotionType.TypeCategory)
commentId: M:TinyLife.Emotions.EmotionType.#ctor(System.String,MLEM.Textures.TextureRegion,Microsoft.Xna.Framework.Color,TinyLife.Emotions.EmotionType.TypeCategory)
id: '#ctor(System.String,MLEM.Textures.TextureRegion,Microsoft.Xna.Framework.Color,TinyLife.Emotions.EmotionType.TypeCategory)'
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: EmotionType(String, TextureRegion, Color, EmotionType.TypeCategory)
nameWithType: EmotionType.EmotionType(String, TextureRegion, Color, EmotionType.TypeCategory)
fullName: TinyLife.Emotions.EmotionType.EmotionType(System.String, MLEM.Textures.TextureRegion, Microsoft.Xna.Framework.Color, TinyLife.Emotions.EmotionType.TypeCategory)
type: Constructor
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 71
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
summary: "\nCreates a new emotion type with the given settings\n"
example: []
syntax:
content: public EmotionType(string name, TextureRegion icon, Color color, EmotionType.TypeCategory category)
parameters:
- id: name
type: System.String
description: The emotion type's name
- id: icon
type: MLEM.Textures.TextureRegion
description: The emotion type's icon
- id: color
type: Microsoft.Xna.Framework.Color
description: The emotion type's color
- id: category
type: TinyLife.Emotions.EmotionType.TypeCategory
description: This emotion type's category
content.vb: Public Sub New(name As String, icon As TextureRegion, color As Color, category As EmotionType.TypeCategory)
overload: TinyLife.Emotions.EmotionType.#ctor*
modifiers.csharp:
- public
modifiers.vb:
- Public
- uid: TinyLife.Emotions.EmotionType.Register(TinyLife.Emotions.EmotionType)
commentId: M:TinyLife.Emotions.EmotionType.Register(TinyLife.Emotions.EmotionType)
id: Register(TinyLife.Emotions.EmotionType)
parent: TinyLife.Emotions.EmotionType
langs:
- csharp
- vb
name: Register(EmotionType)
nameWithType: EmotionType.Register(EmotionType)
fullName: TinyLife.Emotions.EmotionType.Register(TinyLife.Emotions.EmotionType)
type: Method
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Register
path: ../TinyLife/Emotions/EmotionType.cs
startLine: 83
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
summary: "\nRegisters the given emotion type to the registry\n"
example: []
syntax:
content: public static EmotionType Register(EmotionType type)
parameters:
- id: type
type: TinyLife.Emotions.EmotionType
description: The type to register
return:
type: TinyLife.Emotions.EmotionType
description: The passed type, for chaining
content.vb: Public Shared Function Register(type As EmotionType) As EmotionType
overload: TinyLife.Emotions.EmotionType.Register*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
references:
- uid: TinyLife.Objects.Person
commentId: T:TinyLife.Objects.Person
parent: TinyLife.Objects
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- uid: TinyLife.Emotions.EmotionModifier
commentId: T:TinyLife.Emotions.EmotionModifier
parent: TinyLife.Emotions
name: EmotionModifier
nameWithType: EmotionModifier
fullName: TinyLife.Emotions.EmotionModifier
- uid: TinyLife.Emotions.EmotionModifier.Instance
commentId: T:TinyLife.Emotions.EmotionModifier.Instance
name: EmotionModifier.Instance
nameWithType: EmotionModifier.Instance
fullName: TinyLife.Emotions.EmotionModifier.Instance
- uid: TinyLife.Emotions
commentId: N:TinyLife.Emotions
name: TinyLife.Emotions
nameWithType: TinyLife.Emotions
fullName: TinyLife.Emotions
- uid: System.Object
commentId: T:System.Object
parent: System
isExternal: true
name: Object
nameWithType: Object
fullName: System.Object
- uid: System.Object.Equals(System.Object)
commentId: M:System.Object.Equals(System.Object)
parent: System.Object
isExternal: true
name: Equals(Object)
nameWithType: Object.Equals(Object)
fullName: System.Object.Equals(System.Object)
spec.csharp:
- uid: System.Object.Equals(System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.Equals(System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Object.Equals(System.Object,System.Object)
commentId: M:System.Object.Equals(System.Object,System.Object)
parent: System.Object
isExternal: true
name: Equals(Object, Object)
nameWithType: Object.Equals(Object, Object)
fullName: System.Object.Equals(System.Object, System.Object)
spec.csharp:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Object.GetHashCode
commentId: M:System.Object.GetHashCode
parent: System.Object
isExternal: true
name: GetHashCode()
nameWithType: Object.GetHashCode()
fullName: System.Object.GetHashCode()
spec.csharp:
- uid: System.Object.GetHashCode
name: GetHashCode
nameWithType: Object.GetHashCode
fullName: System.Object.GetHashCode
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.GetHashCode
name: GetHashCode
nameWithType: Object.GetHashCode
fullName: System.Object.GetHashCode
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: System.Object.GetType
commentId: M:System.Object.GetType
parent: System.Object
isExternal: true
name: GetType()
nameWithType: Object.GetType()
fullName: System.Object.GetType()
spec.csharp:
- uid: System.Object.GetType
name: GetType
nameWithType: Object.GetType
fullName: System.Object.GetType
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.GetType
name: GetType
nameWithType: Object.GetType
fullName: System.Object.GetType
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: System.Object.MemberwiseClone
commentId: M:System.Object.MemberwiseClone
parent: System.Object
isExternal: true
name: MemberwiseClone()
nameWithType: Object.MemberwiseClone()
fullName: System.Object.MemberwiseClone()
spec.csharp:
- uid: System.Object.MemberwiseClone
name: MemberwiseClone
nameWithType: Object.MemberwiseClone
fullName: System.Object.MemberwiseClone
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.MemberwiseClone
name: MemberwiseClone
nameWithType: Object.MemberwiseClone
fullName: System.Object.MemberwiseClone
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
commentId: M:System.Object.ReferenceEquals(System.Object,System.Object)
parent: System.Object
isExternal: true
name: ReferenceEquals(Object, Object)
nameWithType: Object.ReferenceEquals(Object, Object)
fullName: System.Object.ReferenceEquals(System.Object, System.Object)
spec.csharp:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
nameWithType: Object.ReferenceEquals
fullName: System.Object.ReferenceEquals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
nameWithType: Object.ReferenceEquals
fullName: System.Object.ReferenceEquals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Object.ToString
commentId: M:System.Object.ToString
parent: System.Object
isExternal: true
name: ToString()
nameWithType: Object.ToString()
fullName: System.Object.ToString()
spec.csharp:
- uid: System.Object.ToString
name: ToString
nameWithType: Object.ToString
fullName: System.Object.ToString
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.ToString
name: ToString
nameWithType: Object.ToString
fullName: System.Object.ToString
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Emotions.EmotionType.TinyLife.Utilities.Extensions.JsonCopy``1
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
parent: TinyLife.Utilities.Extensions
definition: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy()
nameWithType: Extensions.JsonCopy()
fullName: TinyLife.Utilities.Extensions.JsonCopy()
nameWithType.vb: Extensions.JsonCopy(Of EmotionType)()
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Emotions.EmotionType)()
name.vb: JsonCopy(Of EmotionType)()
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1
name: JsonCopy
nameWithType: Extensions.JsonCopy
fullName: TinyLife.Utilities.Extensions.JsonCopy
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1
name: JsonCopy(Of EmotionType)
nameWithType: Extensions.JsonCopy(Of EmotionType)
fullName: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Emotions.EmotionType)
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
name: TinyLife.Objects
nameWithType: TinyLife.Objects
fullName: TinyLife.Objects
- uid: System
commentId: N:System
isExternal: true
name: System
nameWithType: System
fullName: System
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy(T)
nameWithType: Extensions.JsonCopy(T)
fullName: TinyLife.Utilities.Extensions.JsonCopy(T)
nameWithType.vb: Extensions.JsonCopy(Of T)(T)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of T)(T)
name.vb: JsonCopy(Of T)(T)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
nameWithType: Extensions.JsonCopy
fullName: TinyLife.Utilities.Extensions.JsonCopy
- name: (
nameWithType: (
fullName: (
- name: T
nameWithType: T
fullName: T
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy(Of T)
nameWithType: Extensions.JsonCopy(Of T)
fullName: TinyLife.Utilities.Extensions.JsonCopy(Of T)
- name: (
nameWithType: (
fullName: (
- name: T
nameWithType: T
fullName: T
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Utilities.Extensions
commentId: T:TinyLife.Utilities.Extensions
parent: TinyLife.Utilities
name: Extensions
nameWithType: Extensions
fullName: TinyLife.Utilities.Extensions
- uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities
- uid: TinyLife.Emotions.EmotionType
commentId: T:TinyLife.Emotions.EmotionType
parent: TinyLife.Emotions
name: EmotionType
nameWithType: EmotionType
fullName: TinyLife.Emotions.EmotionType
- uid: System.Collections.ObjectModel.ReadOnlyDictionary{System.String,TinyLife.Emotions.EmotionType}
commentId: T:System.Collections.ObjectModel.ReadOnlyDictionary{System.String,TinyLife.Emotions.EmotionType}
parent: System.Collections.ObjectModel
definition: System.Collections.ObjectModel.ReadOnlyDictionary`2
name: ReadOnlyDictionary
nameWithType: ReadOnlyDictionary
fullName: System.Collections.ObjectModel.ReadOnlyDictionary
nameWithType.vb: ReadOnlyDictionary(Of String, EmotionType)
fullName.vb: System.Collections.ObjectModel.ReadOnlyDictionary(Of System.String, TinyLife.Emotions.EmotionType)
name.vb: ReadOnlyDictionary(Of String, EmotionType)
spec.csharp:
- uid: System.Collections.ObjectModel.ReadOnlyDictionary`2
name: ReadOnlyDictionary
nameWithType: ReadOnlyDictionary
fullName: System.Collections.ObjectModel.ReadOnlyDictionary
isExternal: true
- name: <
nameWithType: <
fullName: <
- uid: System.String
name: String
nameWithType: String
fullName: System.String
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: TinyLife.Emotions.EmotionType
name: EmotionType
nameWithType: EmotionType
fullName: TinyLife.Emotions.EmotionType
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Collections.ObjectModel.ReadOnlyDictionary`2
name: ReadOnlyDictionary
nameWithType: ReadOnlyDictionary
fullName: System.Collections.ObjectModel.ReadOnlyDictionary
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- uid: System.String
name: String
nameWithType: String
fullName: System.String
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: TinyLife.Emotions.EmotionType
name: EmotionType
nameWithType: EmotionType
fullName: TinyLife.Emotions.EmotionType
- name: )
nameWithType: )
fullName: )
- uid: System.Collections.ObjectModel.ReadOnlyDictionary`2
commentId: T:System.Collections.ObjectModel.ReadOnlyDictionary`2
isExternal: true
name: ReadOnlyDictionary
nameWithType: ReadOnlyDictionary
fullName: System.Collections.ObjectModel.ReadOnlyDictionary
nameWithType.vb: ReadOnlyDictionary(Of TKey, TValue)
fullName.vb: System.Collections.ObjectModel.ReadOnlyDictionary(Of TKey, TValue)
name.vb: ReadOnlyDictionary(Of TKey, TValue)
spec.csharp:
- uid: System.Collections.ObjectModel.ReadOnlyDictionary`2
name: ReadOnlyDictionary
nameWithType: ReadOnlyDictionary
fullName: System.Collections.ObjectModel.ReadOnlyDictionary
isExternal: true
- name: <
nameWithType: <
fullName: <
- name: TKey
nameWithType: TKey
fullName: TKey
- name: ', '
nameWithType: ', '
fullName: ', '
- name: TValue
nameWithType: TValue
fullName: TValue
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Collections.ObjectModel.ReadOnlyDictionary`2
name: ReadOnlyDictionary
nameWithType: ReadOnlyDictionary
fullName: System.Collections.ObjectModel.ReadOnlyDictionary
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- name: TKey
nameWithType: TKey
fullName: TKey
- name: ', '
nameWithType: ', '
fullName: ', '
- name: TValue
nameWithType: TValue
fullName: TValue
- name: )
nameWithType: )
fullName: )
- uid: System.Collections.ObjectModel
commentId: N:System.Collections.ObjectModel
isExternal: true
name: System.Collections.ObjectModel
nameWithType: System.Collections.ObjectModel
fullName: System.Collections.ObjectModel
- uid: System.String
commentId: T:System.String
parent: System
isExternal: true
name: String
nameWithType: String
fullName: System.String
- uid: MLEM.Textures.TextureRegion
commentId: T:MLEM.Textures.TextureRegion
parent: MLEM.Textures
isExternal: true
name: TextureRegion
nameWithType: TextureRegion
fullName: MLEM.Textures.TextureRegion
- uid: MLEM.Textures
commentId: N:MLEM.Textures
isExternal: true
name: MLEM.Textures
nameWithType: MLEM.Textures
fullName: MLEM.Textures
- uid: Microsoft.Xna.Framework.Color
commentId: T:Microsoft.Xna.Framework.Color
parent: Microsoft.Xna.Framework
isExternal: true
name: Color
nameWithType: Color
fullName: Microsoft.Xna.Framework.Color
- uid: Microsoft.Xna.Framework
commentId: N:Microsoft.Xna.Framework
isExternal: true
name: Microsoft.Xna.Framework
nameWithType: Microsoft.Xna.Framework
fullName: Microsoft.Xna.Framework
- uid: TinyLife.Emotions.EmotionType.TypeCategory
commentId: T:TinyLife.Emotions.EmotionType.TypeCategory
parent: TinyLife.Emotions
name: EmotionType.TypeCategory
nameWithType: EmotionType.TypeCategory
fullName: TinyLife.Emotions.EmotionType.TypeCategory
- uid: TinyLife.Emotions.EmotionType.#ctor*
commentId: Overload:TinyLife.Emotions.EmotionType.#ctor
name: EmotionType
nameWithType: EmotionType.EmotionType
fullName: TinyLife.Emotions.EmotionType.EmotionType
- uid: TinyLife.Emotions.EmotionType.Types
commentId: F:TinyLife.Emotions.EmotionType.Types
isExternal: true
- uid: TinyLife.Emotions.EmotionType.Register*
commentId: Overload:TinyLife.Emotions.EmotionType.Register
name: Register
nameWithType: EmotionType.Register
fullName: TinyLife.Emotions.EmotionType.Register