TinyLifeWeb/docs/api/TinyLife.Objects.PersonLike.AddEmotionDelegate.yml
2024-07-14 12:58:47 +02:00

254 lines
8.3 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: TinyLife.Objects.PersonLike.AddEmotionDelegate
commentId: T:TinyLife.Objects.PersonLike.AddEmotionDelegate
id: PersonLike.AddEmotionDelegate
parent: TinyLife.Objects
children: []
langs:
- csharp
- vb
name: PersonLike.AddEmotionDelegate
nameWithType: PersonLike.AddEmotionDelegate
fullName: TinyLife.Objects.PersonLike.AddEmotionDelegate
type: Delegate
source:
remote:
path: TinyLife/Objects/PersonLike.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AddEmotionDelegate
path: ../TinyLife/Objects/PersonLike.cs
startLine: 3356
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: A delegate used for <xref href="TinyLife.Objects.PersonLike.OnAddEmotion" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: public delegate void PersonLike.AddEmotionDelegate(ref EmotionModifier type, ref int amount, ref TimeSpan time, ref IEmotionSource source, ref bool increaseExisting)
parameters:
- id: type
type: TinyLife.Emotions.EmotionModifier
- id: amount
type: System.Int32
- id: time
type: System.TimeSpan
- id: source
type: TinyLife.Emotions.IEmotionSource
- id: increaseExisting
type: System.Boolean
content.vb: Public Delegate Sub PersonLike.AddEmotionDelegate(type As EmotionModifier, amount As Integer, time As TimeSpan, source As IEmotionSource, increaseExisting As Boolean)
extensionMethods:
- TinyLife.Objects.PersonLike.AddEmotionDelegate.TinyLife.Utilities.Extensions.JsonCopy``1
references:
- uid: TinyLife.Objects.PersonLike.OnAddEmotion
commentId: E:TinyLife.Objects.PersonLike.OnAddEmotion
parent: TinyLife.Objects.PersonLike
href: TinyLife.Objects.PersonLike.html#TinyLife_Objects_PersonLike_OnAddEmotion
name: OnAddEmotion
nameWithType: PersonLike.OnAddEmotion
fullName: TinyLife.Objects.PersonLike.OnAddEmotion
- 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.Objects.PersonLike.AddEmotionDelegate.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<AddEmotionDelegate>(AddEmotionDelegate)
nameWithType: Extensions.JsonCopy<PersonLike.AddEmotionDelegate>(PersonLike.AddEmotionDelegate)
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.Objects.PersonLike.AddEmotionDelegate>(TinyLife.Objects.PersonLike.AddEmotionDelegate)
nameWithType.vb: Extensions.JsonCopy(Of PersonLike.AddEmotionDelegate)(PersonLike.AddEmotionDelegate)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Objects.PersonLike.AddEmotionDelegate)(TinyLife.Objects.PersonLike.AddEmotionDelegate)
name.vb: JsonCopy(Of AddEmotionDelegate)(AddEmotionDelegate)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Objects.PersonLike.AddEmotionDelegate)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: <
- uid: TinyLife.Objects.PersonLike.AddEmotionDelegate
name: AddEmotionDelegate
href: TinyLife.Objects.PersonLike.AddEmotionDelegate.html
- name: '>'
- name: (
- uid: TinyLife.Objects.PersonLike.AddEmotionDelegate
name: AddEmotionDelegate
href: TinyLife.Objects.PersonLike.AddEmotionDelegate.html
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Objects.PersonLike.AddEmotionDelegate)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: (
- name: Of
- name: " "
- uid: TinyLife.Objects.PersonLike.AddEmotionDelegate
name: AddEmotionDelegate
href: TinyLife.Objects.PersonLike.AddEmotionDelegate.html
- name: )
- name: (
- uid: TinyLife.Objects.PersonLike.AddEmotionDelegate
name: AddEmotionDelegate
href: TinyLife.Objects.PersonLike.AddEmotionDelegate.html
- name: )
- 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: System.Int32
commentId: T:System.Int32
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.int32
name: int
nameWithType: int
fullName: int
nameWithType.vb: Integer
fullName.vb: Integer
name.vb: Integer
- uid: System.TimeSpan
commentId: T:System.TimeSpan
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.timespan
name: TimeSpan
nameWithType: TimeSpan
fullName: System.TimeSpan
- uid: TinyLife.Emotions.IEmotionSource
commentId: T:TinyLife.Emotions.IEmotionSource
parent: TinyLife.Emotions
href: TinyLife.Emotions.IEmotionSource.html
name: IEmotionSource
nameWithType: IEmotionSource
fullName: TinyLife.Emotions.IEmotionSource
- uid: System.Boolean
commentId: T:System.Boolean
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
name: bool
nameWithType: bool
fullName: bool
nameWithType.vb: Boolean
fullName.vb: Boolean
name.vb: Boolean
- uid: TinyLife.Objects.PersonLike
commentId: T:TinyLife.Objects.PersonLike
parent: TinyLife.Objects
href: TinyLife.Objects.PersonLike.html
name: PersonLike
nameWithType: PersonLike
fullName: TinyLife.Objects.PersonLike
- 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.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: System
commentId: N:System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
name: System
nameWithType: System
fullName: System
- 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