mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-14 07:59:10 +01:00
351 lines
11 KiB
YAML
Generated
351 lines
11 KiB
YAML
Generated
### YamlMime:ManagedReference
|
|
items:
|
|
- uid: TinyLife.Emotions.IEmotionSource
|
|
commentId: T:TinyLife.Emotions.IEmotionSource
|
|
id: IEmotionSource
|
|
parent: TinyLife.Emotions
|
|
children:
|
|
- TinyLife.Emotions.IEmotionSource.SourceString
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: IEmotionSource
|
|
nameWithType: IEmotionSource
|
|
fullName: TinyLife.Emotions.IEmotionSource
|
|
type: Interface
|
|
source:
|
|
remote:
|
|
path: TinyLife/Emotions/IEmotionSource.cs
|
|
branch: main
|
|
repo: https://git.ellpeck.de/Ellpeck/TinyLife
|
|
id: IEmotionSource
|
|
path: ../TinyLife/Emotions/IEmotionSource.cs
|
|
startLine: 15
|
|
assemblies:
|
|
- Tiny Life
|
|
namespace: TinyLife.Emotions
|
|
summary: >-
|
|
This interface can be added to classes that should be able to represent a cause of an emotion.
|
|
|
|
By default, several of the game's objects, including <xref href="TinyLife.Objects.FurnitureType" data-throw-if-not-resolved="false"></xref>, <xref href="TinyLife.Actions.ActionType" data-throw-if-not-resolved="false"></xref> and <xref href="TinyLife.PersonalityType" data-throw-if-not-resolved="false"></xref> have this interface.
|
|
|
|
Note that, since emotion sources are serialized directly when storing a <xref href="TinyLife.Emotions.EmotionModifier.Instance" data-throw-if-not-resolved="false"></xref>, it's recommended that their default serializer is <xref href="MLEM.Data.Json.StaticJsonConverter%601" data-throw-if-not-resolved="false"></xref>.
|
|
|
|
To combine multiple emotion sources into one, you can use <xref href="TinyLife.Emotions.CombinedEmotionSource" data-throw-if-not-resolved="false"></xref>.
|
|
example: []
|
|
syntax:
|
|
content: public interface IEmotionSource
|
|
content.vb: Public Interface IEmotionSource
|
|
extensionMethods:
|
|
- TinyLife.Emotions.IEmotionSource.TinyLife.Utilities.Extensions.JsonCopy``1
|
|
- uid: TinyLife.Emotions.IEmotionSource.SourceString
|
|
commentId: P:TinyLife.Emotions.IEmotionSource.SourceString
|
|
id: SourceString
|
|
parent: TinyLife.Emotions.IEmotionSource
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: SourceString
|
|
nameWithType: IEmotionSource.SourceString
|
|
fullName: TinyLife.Emotions.IEmotionSource.SourceString
|
|
type: Property
|
|
source:
|
|
remote:
|
|
path: TinyLife/Emotions/IEmotionSource.cs
|
|
branch: main
|
|
repo: https://git.ellpeck.de/Ellpeck/TinyLife
|
|
id: SourceString
|
|
path: ../TinyLife/Emotions/IEmotionSource.cs
|
|
startLine: 20
|
|
assemblies:
|
|
- Tiny Life
|
|
namespace: TinyLife.Emotions
|
|
summary: A (localized) string that is displayed when hovering over an <xref href="TinyLife.Emotions.EmotionModifier" data-throw-if-not-resolved="false"></xref> that has this source
|
|
example: []
|
|
syntax:
|
|
content: string SourceString { get; }
|
|
parameters: []
|
|
return:
|
|
type: System.String
|
|
content.vb: ReadOnly Property SourceString As String
|
|
overload: TinyLife.Emotions.IEmotionSource.SourceString*
|
|
references:
|
|
- uid: TinyLife.Objects.FurnitureType
|
|
commentId: T:TinyLife.Objects.FurnitureType
|
|
parent: TinyLife.Objects
|
|
href: TinyLife.Objects.FurnitureType.html
|
|
name: FurnitureType
|
|
nameWithType: FurnitureType
|
|
fullName: TinyLife.Objects.FurnitureType
|
|
- uid: TinyLife.Actions.ActionType
|
|
commentId: T:TinyLife.Actions.ActionType
|
|
parent: TinyLife.Actions
|
|
href: TinyLife.Actions.ActionType.html
|
|
name: ActionType
|
|
nameWithType: ActionType
|
|
fullName: TinyLife.Actions.ActionType
|
|
- uid: TinyLife.PersonalityType
|
|
commentId: T:TinyLife.PersonalityType
|
|
parent: TinyLife
|
|
href: TinyLife.PersonalityType.html
|
|
name: PersonalityType
|
|
nameWithType: PersonalityType
|
|
fullName: TinyLife.PersonalityType
|
|
- uid: TinyLife.Emotions.EmotionModifier.Instance
|
|
commentId: T:TinyLife.Emotions.EmotionModifier.Instance
|
|
parent: TinyLife.Emotions
|
|
href: TinyLife.Emotions.EmotionModifier.html
|
|
name: EmotionModifier.Instance
|
|
nameWithType: EmotionModifier.Instance
|
|
fullName: TinyLife.Emotions.EmotionModifier.Instance
|
|
spec.csharp:
|
|
- uid: TinyLife.Emotions.EmotionModifier
|
|
name: EmotionModifier
|
|
href: TinyLife.Emotions.EmotionModifier.html
|
|
- name: .
|
|
- uid: TinyLife.Emotions.EmotionModifier.Instance
|
|
name: Instance
|
|
href: TinyLife.Emotions.EmotionModifier.Instance.html
|
|
spec.vb:
|
|
- uid: TinyLife.Emotions.EmotionModifier
|
|
name: EmotionModifier
|
|
href: TinyLife.Emotions.EmotionModifier.html
|
|
- name: .
|
|
- uid: TinyLife.Emotions.EmotionModifier.Instance
|
|
name: Instance
|
|
href: TinyLife.Emotions.EmotionModifier.Instance.html
|
|
- uid: MLEM.Data.Json.StaticJsonConverter`1
|
|
commentId: T:MLEM.Data.Json.StaticJsonConverter`1
|
|
isExternal: true
|
|
name: StaticJsonConverter<T>
|
|
nameWithType: StaticJsonConverter<T>
|
|
fullName: MLEM.Data.Json.StaticJsonConverter<T>
|
|
nameWithType.vb: StaticJsonConverter(Of T)
|
|
fullName.vb: MLEM.Data.Json.StaticJsonConverter(Of T)
|
|
name.vb: StaticJsonConverter(Of T)
|
|
spec.csharp:
|
|
- uid: MLEM.Data.Json.StaticJsonConverter`1
|
|
name: StaticJsonConverter
|
|
isExternal: true
|
|
- name: <
|
|
- name: T
|
|
- name: '>'
|
|
spec.vb:
|
|
- uid: MLEM.Data.Json.StaticJsonConverter`1
|
|
name: StaticJsonConverter
|
|
isExternal: true
|
|
- name: (
|
|
- name: Of
|
|
- name: " "
|
|
- name: T
|
|
- name: )
|
|
- uid: TinyLife.Emotions.CombinedEmotionSource
|
|
commentId: T:TinyLife.Emotions.CombinedEmotionSource
|
|
href: TinyLife.Emotions.CombinedEmotionSource.html
|
|
name: CombinedEmotionSource
|
|
nameWithType: CombinedEmotionSource
|
|
fullName: TinyLife.Emotions.CombinedEmotionSource
|
|
- uid: TinyLife.Emotions
|
|
commentId: N:TinyLife.Emotions
|
|
href: TinyLife.html
|
|
name: TinyLife.Emotions
|
|
nameWithType: TinyLife.Emotions
|
|
fullName: TinyLife.Emotions
|
|
spec.csharp:
|
|
- uid: TinyLife
|
|
name: TinyLife
|
|
href: TinyLife.html
|
|
- name: .
|
|
- uid: TinyLife.Emotions
|
|
name: Emotions
|
|
href: TinyLife.Emotions.html
|
|
spec.vb:
|
|
- uid: TinyLife
|
|
name: TinyLife
|
|
href: TinyLife.html
|
|
- name: .
|
|
- uid: TinyLife.Emotions
|
|
name: Emotions
|
|
href: TinyLife.Emotions.html
|
|
- uid: TinyLife.Emotions.IEmotionSource.TinyLife.Utilities.Extensions.JsonCopy``1
|
|
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
|
|
parent: TinyLife.Utilities.Extensions
|
|
definition: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
|
|
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
|
|
name: JsonCopy<IEmotionSource>(IEmotionSource)
|
|
nameWithType: Extensions.JsonCopy<IEmotionSource>(IEmotionSource)
|
|
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.Emotions.IEmotionSource>(TinyLife.Emotions.IEmotionSource)
|
|
nameWithType.vb: Extensions.JsonCopy(Of IEmotionSource)(IEmotionSource)
|
|
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Emotions.IEmotionSource)(TinyLife.Emotions.IEmotionSource)
|
|
name.vb: JsonCopy(Of IEmotionSource)(IEmotionSource)
|
|
spec.csharp:
|
|
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Emotions.IEmotionSource)
|
|
name: JsonCopy
|
|
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
|
|
- name: <
|
|
- uid: TinyLife.Emotions.IEmotionSource
|
|
name: IEmotionSource
|
|
href: TinyLife.Emotions.IEmotionSource.html
|
|
- name: '>'
|
|
- name: (
|
|
- uid: TinyLife.Emotions.IEmotionSource
|
|
name: IEmotionSource
|
|
href: TinyLife.Emotions.IEmotionSource.html
|
|
- name: )
|
|
spec.vb:
|
|
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Emotions.IEmotionSource)
|
|
name: JsonCopy
|
|
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
|
|
- name: (
|
|
- name: Of
|
|
- name: " "
|
|
- uid: TinyLife.Emotions.IEmotionSource
|
|
name: IEmotionSource
|
|
href: TinyLife.Emotions.IEmotionSource.html
|
|
- name: )
|
|
- name: (
|
|
- uid: TinyLife.Emotions.IEmotionSource
|
|
name: IEmotionSource
|
|
href: TinyLife.Emotions.IEmotionSource.html
|
|
- name: )
|
|
- uid: TinyLife.Objects
|
|
commentId: N:TinyLife.Objects
|
|
href: TinyLife.html
|
|
name: TinyLife.Objects
|
|
nameWithType: TinyLife.Objects
|
|
fullName: TinyLife.Objects
|
|
spec.csharp:
|
|
- uid: TinyLife
|
|
name: TinyLife
|
|
href: TinyLife.html
|
|
- name: .
|
|
- uid: TinyLife.Objects
|
|
name: Objects
|
|
href: TinyLife.Objects.html
|
|
spec.vb:
|
|
- uid: TinyLife
|
|
name: TinyLife
|
|
href: TinyLife.html
|
|
- name: .
|
|
- uid: TinyLife.Objects
|
|
name: Objects
|
|
href: TinyLife.Objects.html
|
|
- uid: TinyLife.Actions
|
|
commentId: N:TinyLife.Actions
|
|
href: TinyLife.html
|
|
name: TinyLife.Actions
|
|
nameWithType: TinyLife.Actions
|
|
fullName: TinyLife.Actions
|
|
spec.csharp:
|
|
- uid: TinyLife
|
|
name: TinyLife
|
|
href: TinyLife.html
|
|
- name: .
|
|
- uid: TinyLife.Actions
|
|
name: Actions
|
|
href: TinyLife.Actions.html
|
|
spec.vb:
|
|
- uid: TinyLife
|
|
name: TinyLife
|
|
href: TinyLife.html
|
|
- name: .
|
|
- uid: TinyLife.Actions
|
|
name: Actions
|
|
href: TinyLife.Actions.html
|
|
- uid: TinyLife
|
|
commentId: N:TinyLife
|
|
href: TinyLife.html
|
|
name: TinyLife
|
|
nameWithType: TinyLife
|
|
fullName: TinyLife
|
|
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
|
|
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
|
|
href: TinyLife.Utilities.Extensions.html#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
|
|
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
|
|
- name: <
|
|
- name: T
|
|
- name: '>'
|
|
- name: (
|
|
- name: T
|
|
- name: )
|
|
spec.vb:
|
|
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
|
|
name: JsonCopy
|
|
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
|
|
- name: (
|
|
- name: Of
|
|
- name: " "
|
|
- name: T
|
|
- name: )
|
|
- name: (
|
|
- name: T
|
|
- name: )
|
|
- uid: TinyLife.Utilities.Extensions
|
|
commentId: T:TinyLife.Utilities.Extensions
|
|
parent: TinyLife.Utilities
|
|
href: TinyLife.Utilities.Extensions.html
|
|
name: Extensions
|
|
nameWithType: Extensions
|
|
fullName: TinyLife.Utilities.Extensions
|
|
- uid: TinyLife.Utilities
|
|
commentId: N:TinyLife.Utilities
|
|
href: TinyLife.html
|
|
name: TinyLife.Utilities
|
|
nameWithType: TinyLife.Utilities
|
|
fullName: TinyLife.Utilities
|
|
spec.csharp:
|
|
- uid: TinyLife
|
|
name: TinyLife
|
|
href: TinyLife.html
|
|
- name: .
|
|
- uid: TinyLife.Utilities
|
|
name: Utilities
|
|
href: TinyLife.Utilities.html
|
|
spec.vb:
|
|
- uid: TinyLife
|
|
name: TinyLife
|
|
href: TinyLife.html
|
|
- name: .
|
|
- uid: TinyLife.Utilities
|
|
name: Utilities
|
|
href: TinyLife.Utilities.html
|
|
- uid: TinyLife.Emotions.EmotionModifier
|
|
commentId: T:TinyLife.Emotions.EmotionModifier
|
|
parent: TinyLife.Emotions
|
|
href: TinyLife.Emotions.EmotionModifier.html
|
|
name: EmotionModifier
|
|
nameWithType: EmotionModifier
|
|
fullName: TinyLife.Emotions.EmotionModifier
|
|
- uid: TinyLife.Emotions.IEmotionSource.SourceString*
|
|
commentId: Overload:TinyLife.Emotions.IEmotionSource.SourceString
|
|
href: TinyLife.Emotions.IEmotionSource.html#TinyLife_Emotions_IEmotionSource_SourceString
|
|
name: SourceString
|
|
nameWithType: IEmotionSource.SourceString
|
|
fullName: TinyLife.Emotions.IEmotionSource.SourceString
|
|
- uid: System.String
|
|
commentId: T:System.String
|
|
parent: System
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.string
|
|
name: string
|
|
nameWithType: string
|
|
fullName: string
|
|
nameWithType.vb: String
|
|
fullName.vb: String
|
|
name.vb: String
|
|
- uid: System
|
|
commentId: N:System
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system
|
|
name: System
|
|
nameWithType: System
|
|
fullName: System
|