TinyLifeWeb/api/TinyLife.Emotions.EmotionType.yml

1365 lines
38 KiB
YAML
Raw Normal View History

2021-08-04 06:51:12 +02:00
### 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.Sad
- TinyLife.Emotions.EmotionType.Stunned
- TinyLife.Emotions.EmotionType.Types
- TinyLife.Emotions.EmotionType.Uncomfortable
langs:
- csharp
- vb
name: EmotionType
nameWithType: EmotionType
fullName: TinyLife.Emotions.EmotionType
type: Class
source:
remote:
path: TinyLife/Emotions/EmotionType.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: EmotionType
path: Emotions/EmotionType.cs
startLine: 17
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
summary: "\nAn emotion type is a type of feeling that a <xref href=\"TinyLife.Objects.Person\" data-throw-if-not-resolved=\"false\"></xref> can have.\nThe emotion that a person has results from that person&apos;s applied <xref href=\"TinyLife.Emotions.EmotionModifier\" data-throw-if-not-resolved=\"false\"></xref> <xref href=\"TinyLife.Emotions.EmotionModifier.Instance\" data-throw-if-not-resolved=\"false\"></xref>s.\n"
example: []
syntax:
content: >-
[JsonConverter(typeof(StaticJsonConverter<EmotionType>), new object[]{typeof(EmotionType), "PrivateTypes"})]
public class EmotionType
content.vb: >-
<JsonConverter(GetType(StaticJsonConverter(Of EmotionType)), New Object() {GetType(EmotionType), "PrivateTypes"})>
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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Types
path: Emotions/EmotionType.cs
startLine: 24
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
summary: "\nA registry of all <xref href=\"TinyLife.Emotions.EmotionType\" data-throw-if-not-resolved=\"false\"></xref> instances from the game and mods\n"
example: []
syntax:
content: public static readonly IDictionary<string, EmotionType> Types
return:
type: System.Collections.Generic.IDictionary{System.String,TinyLife.Emotions.EmotionType}
content.vb: Public Shared ReadOnly Types As IDictionary(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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Fine
path: Emotions/EmotionType.cs
startLine: 27
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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Uncomfortable
path: Emotions/EmotionType.cs
startLine: 28
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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Asleep
path: Emotions/EmotionType.cs
startLine: 29
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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Happy
path: Emotions/EmotionType.cs
startLine: 30
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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Embarrassed
path: Emotions/EmotionType.cs
startLine: 31
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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Sad
path: Emotions/EmotionType.cs
startLine: 32
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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Bored
path: Emotions/EmotionType.cs
startLine: 33
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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Frisky
path: Emotions/EmotionType.cs
startLine: 34
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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Creative
path: Emotions/EmotionType.cs
startLine: 35
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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Focused
path: Emotions/EmotionType.cs
startLine: 36
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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Stunned
path: Emotions/EmotionType.cs
startLine: 37
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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Angry
path: Emotions/EmotionType.cs
startLine: 38
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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Energetic
path: Emotions/EmotionType.cs
startLine: 39
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.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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Name
path: Emotions/EmotionType.cs
startLine: 45
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
summary: "\nThis emotion&apos;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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Icon
path: Emotions/EmotionType.cs
startLine: 49
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
summary: "\nThis emotion&apos;s icon, which is used in the portrait section for a <xref href=\"TinyLife.Objects.Person\" data-throw-if-not-resolved=\"false\"></xref> 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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Color
path: Emotions/EmotionType.cs
startLine: 54
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
summary: "\nThe color that represents this emotion.\nThe color is used as a backdrop for <xref href=\"TinyLife.Emotions.EmotionModifier\" data-throw-if-not-resolved=\"false\"></xref> 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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Category
path: Emotions/EmotionType.cs
startLine: 59
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
summary: "\nThe <xref href=\"TinyLife.Emotions.EmotionType.TypeCategory\" data-throw-if-not-resolved=\"false\"></xref> that this emotion type fits into.\nThe category is used for ordering and organizing <xref href=\"TinyLife.Emotions.EmotionModifier\" data-throw-if-not-resolved=\"false\"></xref> 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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: .ctor
path: Emotions/EmotionType.cs
startLine: 68
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&apos;s name
- id: icon
type: MLEM.Textures.TextureRegion
description: The emotion type&apos;s icon
- id: color
type: Microsoft.Xna.Framework.Color
description: The emotion type&apos;s color
- id: category
type: TinyLife.Emotions.EmotionType.TypeCategory
description: This emotion type&apos;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: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Register
path: Emotions/EmotionType.cs
startLine: 80
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
summary: "\nRegisters the given emotion type to the <xref href=\"TinyLife.Emotions.EmotionType.Types\" data-throw-if-not-resolved=\"false\"></xref> 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<EmotionType>()
nameWithType: Extensions.JsonCopy<EmotionType>()
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.Emotions.EmotionType>()
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<EmotionType>
nameWithType: Extensions.JsonCopy<EmotionType>
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.Emotions.EmotionType>
- 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>(T)
nameWithType: Extensions.JsonCopy<T>(T)
fullName: TinyLife.Utilities.Extensions.JsonCopy<T>(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<T>
nameWithType: Extensions.JsonCopy<T>
fullName: TinyLife.Utilities.Extensions.JsonCopy<T>
- 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.Generic.IDictionary{System.String,TinyLife.Emotions.EmotionType}
commentId: T:System.Collections.Generic.IDictionary{System.String,TinyLife.Emotions.EmotionType}
parent: System.Collections.Generic
definition: System.Collections.Generic.IDictionary`2
name: IDictionary<String, EmotionType>
nameWithType: IDictionary<String, EmotionType>
fullName: System.Collections.Generic.IDictionary<System.String, TinyLife.Emotions.EmotionType>
nameWithType.vb: IDictionary(Of String, EmotionType)
fullName.vb: System.Collections.Generic.IDictionary(Of System.String, TinyLife.Emotions.EmotionType)
name.vb: IDictionary(Of String, EmotionType)
spec.csharp:
- uid: System.Collections.Generic.IDictionary`2
name: IDictionary
nameWithType: IDictionary
fullName: System.Collections.Generic.IDictionary
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.Generic.IDictionary`2
name: IDictionary
nameWithType: IDictionary
fullName: System.Collections.Generic.IDictionary
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.Generic.IDictionary`2
commentId: T:System.Collections.Generic.IDictionary`2
isExternal: true
name: IDictionary<TKey, TValue>
nameWithType: IDictionary<TKey, TValue>
fullName: System.Collections.Generic.IDictionary<TKey, TValue>
nameWithType.vb: IDictionary(Of TKey, TValue)
fullName.vb: System.Collections.Generic.IDictionary(Of TKey, TValue)
name.vb: IDictionary(Of TKey, TValue)
spec.csharp:
- uid: System.Collections.Generic.IDictionary`2
name: IDictionary
nameWithType: IDictionary
fullName: System.Collections.Generic.IDictionary
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.Generic.IDictionary`2
name: IDictionary
nameWithType: IDictionary
fullName: System.Collections.Generic.IDictionary
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.Generic
commentId: N:System.Collections.Generic
isExternal: true
name: System.Collections.Generic
nameWithType: System.Collections.Generic
fullName: System.Collections.Generic
- 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