TinyLifeWeb/docs/api/TinyLife.NeedType.yml

1404 lines
39 KiB
YAML
Raw Normal View History

2021-08-04 06:51:12 +02:00
### YamlMime:ManagedReference
items:
- uid: TinyLife.NeedType
commentId: T:TinyLife.NeedType
id: NeedType
parent: TinyLife
children:
- TinyLife.NeedType.#ctor(System.String,System.Func{TinyLife.Objects.Person,System.Single},System.Func{TinyLife.Objects.Person,TinyLife.Actions.ActionType},System.Func{TinyLife.Objects.Person,System.TimeSpan},System.Single)
- TinyLife.NeedType.Energy
- TinyLife.NeedType.Entertainment
- TinyLife.NeedType.Hunger
- TinyLife.NeedType.Hygiene
- TinyLife.NeedType.Name
- TinyLife.NeedType.NeedLowAction
- TinyLife.NeedType.NeedLowTime
- TinyLife.NeedType.PassiveReduction
- TinyLife.NeedType.Register(TinyLife.NeedType)
- TinyLife.NeedType.Social
- TinyLife.NeedType.SolveImportance
2021-11-23 16:24:04 +01:00
- TinyLife.NeedType.SourceString
2021-08-04 06:51:12 +02:00
- TinyLife.NeedType.Toilet
- TinyLife.NeedType.Types
langs:
- csharp
- vb
name: NeedType
nameWithType: NeedType
fullName: TinyLife.NeedType
type: Class
source:
remote:
path: TinyLife/Need.cs
2022-05-24 13:36:05 +02:00
branch: main
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: NeedType
2022-03-09 16:13:05 +01:00
path: ../TinyLife/Need.cs
2022-12-28 18:09:03 +01:00
startLine: 87
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife
summary: "\nA need is a desire that a <xref href=\"TinyLife.Objects.Person\" data-throw-if-not-resolved=\"false\"></xref> can have to a given extent.\nTo register a custom need type, use <xref href=\"TinyLife.NeedType.Register(TinyLife.NeedType)\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: >-
[JsonConverter(typeof(NeedType.Converter))]
2021-11-23 16:24:04 +01:00
public class NeedType : IEmotionSource
2021-08-04 06:51:12 +02:00
content.vb: >-
<JsonConverter(GetType(NeedType.Converter))>
Public Class NeedType
2021-11-23 16:24:04 +01:00
Implements IEmotionSource
2021-08-04 06:51:12 +02:00
inheritance:
- System.Object
2021-11-23 16:24:04 +01:00
implements:
- TinyLife.Emotions.IEmotionSource
2021-08-04 06:51:12 +02:00
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.NeedType.TinyLife.Utilities.Extensions.JsonCopy``1
modifiers.csharp:
- public
- class
modifiers.vb:
- Public
- Class
- uid: TinyLife.NeedType.Types
commentId: F:TinyLife.NeedType.Types
id: Types
parent: TinyLife.NeedType
langs:
- csharp
- vb
name: Types
nameWithType: NeedType.Types
fullName: TinyLife.NeedType.Types
type: Field
source:
remote:
path: TinyLife/Need.cs
2022-05-24 13:36:05 +02:00
branch: main
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
2022-03-09 16:13:05 +01:00
path: ../TinyLife/Need.cs
2022-12-28 18:09:03 +01:00
startLine: 95
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife
summary: "\nA list of all of the need types that are currently registered.\nRegister custom need types using <xref href=\"TinyLife.NeedType.Register(TinyLife.NeedType)\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
2022-05-24 13:36:05 +02:00
content: public static readonly ReadOnlyCollection<NeedType> Types
2021-08-04 06:51:12 +02:00
return:
2022-05-24 13:36:05 +02:00
type: System.Collections.ObjectModel.ReadOnlyCollection{TinyLife.NeedType}
content.vb: Public Shared ReadOnly Types As ReadOnlyCollection(Of NeedType)
2021-08-04 06:51:12 +02:00
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.NeedType.Energy
commentId: F:TinyLife.NeedType.Energy
id: Energy
parent: TinyLife.NeedType
langs:
- csharp
- vb
name: Energy
nameWithType: NeedType.Energy
fullName: TinyLife.NeedType.Energy
type: Field
source:
remote:
path: TinyLife/Need.cs
2022-05-24 13:36:05 +02:00
branch: main
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Energy
2022-03-09 16:13:05 +01:00
path: ../TinyLife/Need.cs
2022-12-28 18:09:03 +01:00
startLine: 97
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife
syntax:
content: public static readonly NeedType Energy
return:
type: TinyLife.NeedType
content.vb: Public Shared ReadOnly Energy As NeedType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.NeedType.Hunger
commentId: F:TinyLife.NeedType.Hunger
id: Hunger
parent: TinyLife.NeedType
langs:
- csharp
- vb
name: Hunger
nameWithType: NeedType.Hunger
fullName: TinyLife.NeedType.Hunger
type: Field
source:
remote:
path: TinyLife/Need.cs
2022-05-24 13:36:05 +02:00
branch: main
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Hunger
2022-03-09 16:13:05 +01:00
path: ../TinyLife/Need.cs
2022-12-28 18:09:03 +01:00
startLine: 102
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife
syntax:
content: public static readonly NeedType Hunger
return:
type: TinyLife.NeedType
content.vb: Public Shared ReadOnly Hunger As NeedType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.NeedType.Social
commentId: F:TinyLife.NeedType.Social
id: Social
parent: TinyLife.NeedType
langs:
- csharp
- vb
name: Social
nameWithType: NeedType.Social
fullName: TinyLife.NeedType.Social
type: Field
source:
remote:
path: TinyLife/Need.cs
2022-05-24 13:36:05 +02:00
branch: main
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Social
2022-03-09 16:13:05 +01:00
path: ../TinyLife/Need.cs
2022-12-28 18:09:03 +01:00
startLine: 103
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife
syntax:
content: public static readonly NeedType Social
return:
type: TinyLife.NeedType
content.vb: Public Shared ReadOnly Social As NeedType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.NeedType.Toilet
commentId: F:TinyLife.NeedType.Toilet
id: Toilet
parent: TinyLife.NeedType
langs:
- csharp
- vb
name: Toilet
nameWithType: NeedType.Toilet
fullName: TinyLife.NeedType.Toilet
type: Field
source:
remote:
path: TinyLife/Need.cs
2022-05-24 13:36:05 +02:00
branch: main
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Toilet
2022-03-09 16:13:05 +01:00
path: ../TinyLife/Need.cs
2022-12-28 18:09:03 +01:00
startLine: 106
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife
syntax:
content: public static readonly NeedType Toilet
return:
type: TinyLife.NeedType
content.vb: Public Shared ReadOnly Toilet As NeedType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.NeedType.Hygiene
commentId: F:TinyLife.NeedType.Hygiene
id: Hygiene
parent: TinyLife.NeedType
langs:
- csharp
- vb
name: Hygiene
nameWithType: NeedType.Hygiene
fullName: TinyLife.NeedType.Hygiene
type: Field
source:
remote:
path: TinyLife/Need.cs
2022-05-24 13:36:05 +02:00
branch: main
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Hygiene
2022-03-09 16:13:05 +01:00
path: ../TinyLife/Need.cs
2022-12-28 18:09:03 +01:00
startLine: 107
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife
syntax:
content: public static readonly NeedType Hygiene
return:
type: TinyLife.NeedType
content.vb: Public Shared ReadOnly Hygiene As NeedType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.NeedType.Entertainment
commentId: F:TinyLife.NeedType.Entertainment
id: Entertainment
parent: TinyLife.NeedType
langs:
- csharp
- vb
name: Entertainment
nameWithType: NeedType.Entertainment
fullName: TinyLife.NeedType.Entertainment
type: Field
source:
remote:
path: TinyLife/Need.cs
2022-05-24 13:36:05 +02:00
branch: main
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: Entertainment
2022-03-09 16:13:05 +01:00
path: ../TinyLife/Need.cs
2022-12-28 18:09:03 +01:00
startLine: 108
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife
syntax:
content: public static readonly NeedType Entertainment
return:
type: TinyLife.NeedType
content.vb: Public Shared ReadOnly Entertainment As NeedType
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.NeedType.Name
commentId: F:TinyLife.NeedType.Name
id: Name
parent: TinyLife.NeedType
langs:
- csharp
- vb
name: Name
nameWithType: NeedType.Name
fullName: TinyLife.NeedType.Name
type: Field
source:
remote:
path: TinyLife/Need.cs
2022-05-24 13:36:05 +02:00
branch: main
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
2022-03-09 16:13:05 +01:00
path: ../TinyLife/Need.cs
2022-12-28 18:09:03 +01:00
startLine: 115
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife
summary: "\nThe name of this need.\nUsed for <xref href=\"TinyLife.Localization\" data-throw-if-not-resolved=\"false\"></xref> purposes and saving to disk.\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.NeedType.PassiveReduction
commentId: F:TinyLife.NeedType.PassiveReduction
id: PassiveReduction
parent: TinyLife.NeedType
langs:
- csharp
- vb
name: PassiveReduction
nameWithType: NeedType.PassiveReduction
fullName: TinyLife.NeedType.PassiveReduction
type: Field
source:
remote:
path: TinyLife/Need.cs
2022-05-24 13:36:05 +02:00
branch: main
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: PassiveReduction
2022-03-09 16:13:05 +01:00
path: ../TinyLife/Need.cs
2022-12-28 18:09:03 +01:00
startLine: 119
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife
summary: "\nThe amount that a need instance&apos;s <xref href=\"TinyLife.Need.Value\" data-throw-if-not-resolved=\"false\"></xref> is reduced by automatically every update frame\n"
example: []
syntax:
content: public readonly Func<Person, float> PassiveReduction
return:
type: System.Func{TinyLife.Objects.Person,System.Single}
content.vb: Public ReadOnly PassiveReduction As Func(Of Person, Single)
modifiers.csharp:
- public
- readonly
modifiers.vb:
- Public
- ReadOnly
- uid: TinyLife.NeedType.NeedLowAction
commentId: F:TinyLife.NeedType.NeedLowAction
id: NeedLowAction
parent: TinyLife.NeedType
langs:
- csharp
- vb
name: NeedLowAction
nameWithType: NeedType.NeedLowAction
fullName: TinyLife.NeedType.NeedLowAction
type: Field
source:
remote:
path: TinyLife/Need.cs
2022-05-24 13:36:05 +02:00
branch: main
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: NeedLowAction
2022-03-09 16:13:05 +01:00
path: ../TinyLife/Need.cs
2022-12-28 18:09:03 +01:00
startLine: 123
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife
summary: "\nThe <xref href=\"TinyLife.Actions.ActionType\" data-throw-if-not-resolved=\"false\"></xref> that is constructed and executed when this need type&apos;s <xref href=\"TinyLife.Need.Value\" data-throw-if-not-resolved=\"false\"></xref> is very low\n"
example: []
syntax:
content: public readonly Func<Person, ActionType> NeedLowAction
return:
type: System.Func{TinyLife.Objects.Person,TinyLife.Actions.ActionType}
content.vb: Public ReadOnly NeedLowAction As Func(Of Person, ActionType)
modifiers.csharp:
- public
- readonly
modifiers.vb:
- Public
- ReadOnly
- uid: TinyLife.NeedType.NeedLowTime
commentId: F:TinyLife.NeedType.NeedLowTime
id: NeedLowTime
parent: TinyLife.NeedType
langs:
- csharp
- vb
name: NeedLowTime
nameWithType: NeedType.NeedLowTime
fullName: TinyLife.NeedType.NeedLowTime
type: Field
source:
remote:
path: TinyLife/Need.cs
2022-05-24 13:36:05 +02:00
branch: main
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: NeedLowTime
2022-03-09 16:13:05 +01:00
path: ../TinyLife/Need.cs
2022-12-28 18:09:03 +01:00
startLine: 127
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife
summary: "\nThe amount of in-game time that needs to pass until <xref href=\"TinyLife.NeedType.NeedLowAction\" data-throw-if-not-resolved=\"false\"></xref> is constructed and enqueued\n"
example: []
syntax:
content: public readonly Func<Person, TimeSpan> NeedLowTime
return:
type: System.Func{TinyLife.Objects.Person,System.TimeSpan}
content.vb: Public ReadOnly NeedLowTime As Func(Of Person, TimeSpan)
modifiers.csharp:
- public
- readonly
modifiers.vb:
- Public
- ReadOnly
- uid: TinyLife.NeedType.SolveImportance
commentId: F:TinyLife.NeedType.SolveImportance
id: SolveImportance
parent: TinyLife.NeedType
langs:
- csharp
- vb
name: SolveImportance
nameWithType: NeedType.SolveImportance
fullName: TinyLife.NeedType.SolveImportance
type: Field
source:
remote:
path: TinyLife/Need.cs
2022-05-24 13:36:05 +02:00
branch: main
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: SolveImportance
2022-03-09 16:13:05 +01:00
path: ../TinyLife/Need.cs
2022-12-28 18:09:03 +01:00
startLine: 132
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife
summary: "\nThe priority for solving this need over other needs, where higher numbers represent a more urgent need.\nThis value defaults to 0, meaning it has no special importance.\n"
example: []
syntax:
content: public readonly float SolveImportance
return:
type: System.Single
content.vb: Public ReadOnly SolveImportance As Single
modifiers.csharp:
- public
- readonly
modifiers.vb:
- Public
- ReadOnly
2021-11-23 16:24:04 +01:00
- uid: TinyLife.NeedType.SourceString
commentId: P:TinyLife.NeedType.SourceString
id: SourceString
parent: TinyLife.NeedType
langs:
- csharp
- vb
name: SourceString
nameWithType: NeedType.SourceString
fullName: TinyLife.NeedType.SourceString
type: Property
source:
remote:
path: TinyLife/Need.cs
2022-05-24 13:36:05 +02:00
branch: main
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-11-23 16:24:04 +01:00
id: SourceString
2022-03-09 16:13:05 +01:00
path: ../TinyLife/Need.cs
2022-12-28 18:09:03 +01:00
startLine: 134
2021-11-23 16:24:04 +01:00
assemblies:
- Tiny Life
namespace: TinyLife
2022-01-08 12:41:09 +01:00
summary: "\nA (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\n"
2021-11-23 16:24:04 +01:00
example: []
syntax:
content: public string SourceString { get; }
parameters: []
return:
type: System.String
content.vb: Public ReadOnly Property SourceString As String
overload: TinyLife.NeedType.SourceString*
implements:
- TinyLife.Emotions.IEmotionSource.SourceString
modifiers.csharp:
- public
- get
modifiers.vb:
- Public
- ReadOnly
2021-08-04 06:51:12 +02:00
- uid: TinyLife.NeedType.#ctor(System.String,System.Func{TinyLife.Objects.Person,System.Single},System.Func{TinyLife.Objects.Person,TinyLife.Actions.ActionType},System.Func{TinyLife.Objects.Person,System.TimeSpan},System.Single)
commentId: M:TinyLife.NeedType.#ctor(System.String,System.Func{TinyLife.Objects.Person,System.Single},System.Func{TinyLife.Objects.Person,TinyLife.Actions.ActionType},System.Func{TinyLife.Objects.Person,System.TimeSpan},System.Single)
id: '#ctor(System.String,System.Func{TinyLife.Objects.Person,System.Single},System.Func{TinyLife.Objects.Person,TinyLife.Actions.ActionType},System.Func{TinyLife.Objects.Person,System.TimeSpan},System.Single)'
parent: TinyLife.NeedType
langs:
- csharp
- vb
name: NeedType(String, Func<Person, Single>, Func<Person, ActionType>, Func<Person, TimeSpan>, Single)
nameWithType: NeedType.NeedType(String, Func<Person, Single>, Func<Person, ActionType>, Func<Person, TimeSpan>, Single)
fullName: TinyLife.NeedType.NeedType(System.String, System.Func<TinyLife.Objects.Person, System.Single>, System.Func<TinyLife.Objects.Person, TinyLife.Actions.ActionType>, System.Func<TinyLife.Objects.Person, System.TimeSpan>, System.Single)
type: Constructor
source:
remote:
path: TinyLife/Need.cs
2022-05-24 13:36:05 +02:00
branch: main
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
2022-03-09 16:13:05 +01:00
path: ../TinyLife/Need.cs
2022-12-28 18:09:03 +01:00
startLine: 144
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife
summary: "\nInstantiates a new need type with the given settings\n"
example: []
syntax:
content: public NeedType(string name, Func<Person, float> passiveReduction, Func<Person, ActionType> needLowAction = null, Func<Person, TimeSpan> needLowTime = null, float solveImportance = 0F)
parameters:
- id: name
type: System.String
description: The name of this need
- id: passiveReduction
type: System.Func{TinyLife.Objects.Person,System.Single}
description: The amount that this need instance&apos;s <xref href="TinyLife.Need.Value" data-throw-if-not-resolved="false"></xref> is reduced by automatically every update frame
- id: needLowAction
type: System.Func{TinyLife.Objects.Person,TinyLife.Actions.ActionType}
description: The action that is executed when this need&apos;s value is very low
- id: needLowTime
type: System.Func{TinyLife.Objects.Person,System.TimeSpan}
description: The amount of in-game time until <code data-dev-comment-type="paramref" class="paramref">needLowAction</code> is enqueued
- id: solveImportance
type: System.Single
description: The priority for solving this need over other needs, where higher numbers are more urgent
content.vb: Public Sub New(name As String, passiveReduction As Func(Of Person, Single), needLowAction As Func(Of Person, ActionType) = Nothing, needLowTime As Func(Of Person, TimeSpan) = Nothing, solveImportance As Single = 0F)
overload: TinyLife.NeedType.#ctor*
nameWithType.vb: NeedType.NeedType(String, Func(Of Person, Single), Func(Of Person, ActionType), Func(Of Person, TimeSpan), Single)
modifiers.csharp:
- public
modifiers.vb:
- Public
fullName.vb: TinyLife.NeedType.NeedType(System.String, System.Func(Of TinyLife.Objects.Person, System.Single), System.Func(Of TinyLife.Objects.Person, TinyLife.Actions.ActionType), System.Func(Of TinyLife.Objects.Person, System.TimeSpan), System.Single)
name.vb: NeedType(String, Func(Of Person, Single), Func(Of Person, ActionType), Func(Of Person, TimeSpan), Single)
- uid: TinyLife.NeedType.Register(TinyLife.NeedType)
commentId: M:TinyLife.NeedType.Register(TinyLife.NeedType)
id: Register(TinyLife.NeedType)
parent: TinyLife.NeedType
langs:
- csharp
- vb
name: Register(NeedType)
nameWithType: NeedType.Register(NeedType)
fullName: TinyLife.NeedType.Register(TinyLife.NeedType)
type: Method
source:
remote:
path: TinyLife/Need.cs
2022-05-24 13:36:05 +02:00
branch: main
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
2022-03-09 16:13:05 +01:00
path: ../TinyLife/Need.cs
2022-12-28 18:09:03 +01:00
startLine: 157
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife
summary: "\nRegister the <xref href=\"TinyLife.NeedType\" data-throw-if-not-resolved=\"false\"></xref> specified to the <xref href=\"TinyLife.NeedType.Types\" data-throw-if-not-resolved=\"false\"></xref> dictionary\n"
example: []
syntax:
content: public static NeedType Register(NeedType type)
parameters:
- id: type
type: TinyLife.NeedType
description: The need type to register
return:
type: TinyLife.NeedType
description: The need typep passed, for chaining
content.vb: Public Shared Function Register(type As NeedType) As NeedType
overload: TinyLife.NeedType.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.NeedType.Register(TinyLife.NeedType)
commentId: M:TinyLife.NeedType.Register(TinyLife.NeedType)
isExternal: true
- uid: TinyLife
commentId: N:TinyLife
name: TinyLife
nameWithType: TinyLife
fullName: TinyLife
- uid: System.Object
commentId: T:System.Object
parent: System
isExternal: true
name: Object
nameWithType: Object
fullName: System.Object
2021-11-23 16:24:04 +01:00
- uid: TinyLife.Emotions.IEmotionSource
commentId: T:TinyLife.Emotions.IEmotionSource
parent: TinyLife.Emotions
name: IEmotionSource
nameWithType: IEmotionSource
fullName: TinyLife.Emotions.IEmotionSource
2021-08-04 06:51:12 +02:00
- 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.NeedType.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<NeedType>()
nameWithType: Extensions.JsonCopy<NeedType>()
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.NeedType>()
nameWithType.vb: Extensions.JsonCopy(Of NeedType)()
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.NeedType)()
name.vb: JsonCopy(Of NeedType)()
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1
name: JsonCopy<NeedType>
nameWithType: Extensions.JsonCopy<NeedType>
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.NeedType>
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1
name: JsonCopy(Of NeedType)
nameWithType: Extensions.JsonCopy(Of NeedType)
fullName: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.NeedType)
- 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
2021-11-23 16:24:04 +01:00
- uid: TinyLife.Emotions
commentId: N:TinyLife.Emotions
name: TinyLife.Emotions
nameWithType: TinyLife.Emotions
fullName: TinyLife.Emotions
2021-08-04 06:51:12 +02:00
- 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
2022-05-24 13:36:05 +02:00
- uid: System.Collections.ObjectModel.ReadOnlyCollection{TinyLife.NeedType}
commentId: T:System.Collections.ObjectModel.ReadOnlyCollection{TinyLife.NeedType}
parent: System.Collections.ObjectModel
definition: System.Collections.ObjectModel.ReadOnlyCollection`1
name: ReadOnlyCollection<NeedType>
nameWithType: ReadOnlyCollection<NeedType>
fullName: System.Collections.ObjectModel.ReadOnlyCollection<TinyLife.NeedType>
nameWithType.vb: ReadOnlyCollection(Of NeedType)
fullName.vb: System.Collections.ObjectModel.ReadOnlyCollection(Of TinyLife.NeedType)
name.vb: ReadOnlyCollection(Of NeedType)
2021-08-04 06:51:12 +02:00
spec.csharp:
2022-05-24 13:36:05 +02:00
- uid: System.Collections.ObjectModel.ReadOnlyCollection`1
name: ReadOnlyCollection
nameWithType: ReadOnlyCollection
fullName: System.Collections.ObjectModel.ReadOnlyCollection
2021-08-04 06:51:12 +02:00
isExternal: true
- name: <
nameWithType: <
fullName: <
- uid: TinyLife.NeedType
name: NeedType
nameWithType: NeedType
fullName: TinyLife.NeedType
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
2022-05-24 13:36:05 +02:00
- uid: System.Collections.ObjectModel.ReadOnlyCollection`1
name: ReadOnlyCollection
nameWithType: ReadOnlyCollection
fullName: System.Collections.ObjectModel.ReadOnlyCollection
2021-08-04 06:51:12 +02:00
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- uid: TinyLife.NeedType
name: NeedType
nameWithType: NeedType
fullName: TinyLife.NeedType
- name: )
nameWithType: )
fullName: )
2022-05-24 13:36:05 +02:00
- uid: System.Collections.ObjectModel.ReadOnlyCollection`1
commentId: T:System.Collections.ObjectModel.ReadOnlyCollection`1
2021-08-04 06:51:12 +02:00
isExternal: true
2022-05-24 13:36:05 +02:00
name: ReadOnlyCollection<T>
nameWithType: ReadOnlyCollection<T>
fullName: System.Collections.ObjectModel.ReadOnlyCollection<T>
nameWithType.vb: ReadOnlyCollection(Of T)
fullName.vb: System.Collections.ObjectModel.ReadOnlyCollection(Of T)
name.vb: ReadOnlyCollection(Of T)
2021-08-04 06:51:12 +02:00
spec.csharp:
2022-05-24 13:36:05 +02:00
- uid: System.Collections.ObjectModel.ReadOnlyCollection`1
name: ReadOnlyCollection
nameWithType: ReadOnlyCollection
fullName: System.Collections.ObjectModel.ReadOnlyCollection
2021-08-04 06:51:12 +02:00
isExternal: true
- name: <
nameWithType: <
fullName: <
- name: T
nameWithType: T
fullName: T
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
2022-05-24 13:36:05 +02:00
- uid: System.Collections.ObjectModel.ReadOnlyCollection`1
name: ReadOnlyCollection
nameWithType: ReadOnlyCollection
fullName: System.Collections.ObjectModel.ReadOnlyCollection
2021-08-04 06:51:12 +02:00
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- name: T
nameWithType: T
fullName: T
- name: )
nameWithType: )
fullName: )
2022-05-24 13:36:05 +02:00
- uid: System.Collections.ObjectModel
commentId: N:System.Collections.ObjectModel
2021-08-04 06:51:12 +02:00
isExternal: true
2022-05-24 13:36:05 +02:00
name: System.Collections.ObjectModel
nameWithType: System.Collections.ObjectModel
fullName: System.Collections.ObjectModel
2021-08-04 06:51:12 +02:00
- uid: TinyLife.NeedType
commentId: T:TinyLife.NeedType
parent: TinyLife
name: NeedType
nameWithType: NeedType
fullName: TinyLife.NeedType
- uid: TinyLife.Localization
commentId: T:TinyLife.Localization
name: Localization
nameWithType: Localization
fullName: TinyLife.Localization
- uid: System.String
commentId: T:System.String
parent: System
isExternal: true
name: String
nameWithType: String
fullName: System.String
- uid: TinyLife.Need.Value
commentId: P:TinyLife.Need.Value
isExternal: true
- uid: System.Func{TinyLife.Objects.Person,System.Single}
commentId: T:System.Func{TinyLife.Objects.Person,System.Single}
parent: System
definition: System.Func`2
name: Func<Person, Single>
nameWithType: Func<Person, Single>
fullName: System.Func<TinyLife.Objects.Person, System.Single>
nameWithType.vb: Func(Of Person, Single)
fullName.vb: System.Func(Of TinyLife.Objects.Person, System.Single)
name.vb: Func(Of Person, Single)
spec.csharp:
- uid: System.Func`2
name: Func
nameWithType: Func
fullName: System.Func
isExternal: true
- name: <
nameWithType: <
fullName: <
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Single
name: Single
nameWithType: Single
fullName: System.Single
isExternal: true
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Func`2
name: Func
nameWithType: Func
fullName: System.Func
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Single
name: Single
nameWithType: Single
fullName: System.Single
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Func`2
commentId: T:System.Func`2
isExternal: true
name: Func<T, TResult>
nameWithType: Func<T, TResult>
fullName: System.Func<T, TResult>
nameWithType.vb: Func(Of T, TResult)
fullName.vb: System.Func(Of T, TResult)
name.vb: Func(Of T, TResult)
spec.csharp:
- uid: System.Func`2
name: Func
nameWithType: Func
fullName: System.Func
isExternal: true
- name: <
nameWithType: <
fullName: <
- name: T
nameWithType: T
fullName: T
- name: ', '
nameWithType: ', '
fullName: ', '
- name: TResult
nameWithType: TResult
fullName: TResult
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Func`2
name: Func
nameWithType: Func
fullName: System.Func
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- name: T
nameWithType: T
fullName: T
- name: ', '
nameWithType: ', '
fullName: ', '
- name: TResult
nameWithType: TResult
fullName: TResult
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Actions.ActionType
commentId: T:TinyLife.Actions.ActionType
parent: TinyLife.Actions
name: ActionType
nameWithType: ActionType
fullName: TinyLife.Actions.ActionType
- uid: System.Func{TinyLife.Objects.Person,TinyLife.Actions.ActionType}
commentId: T:System.Func{TinyLife.Objects.Person,TinyLife.Actions.ActionType}
parent: System
definition: System.Func`2
name: Func<Person, ActionType>
nameWithType: Func<Person, ActionType>
fullName: System.Func<TinyLife.Objects.Person, TinyLife.Actions.ActionType>
nameWithType.vb: Func(Of Person, ActionType)
fullName.vb: System.Func(Of TinyLife.Objects.Person, TinyLife.Actions.ActionType)
name.vb: Func(Of Person, ActionType)
spec.csharp:
- uid: System.Func`2
name: Func
nameWithType: Func
fullName: System.Func
isExternal: true
- name: <
nameWithType: <
fullName: <
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: TinyLife.Actions.ActionType
name: ActionType
nameWithType: ActionType
fullName: TinyLife.Actions.ActionType
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Func`2
name: Func
nameWithType: Func
fullName: System.Func
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: TinyLife.Actions.ActionType
name: ActionType
nameWithType: ActionType
fullName: TinyLife.Actions.ActionType
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Actions
commentId: N:TinyLife.Actions
name: TinyLife.Actions
nameWithType: TinyLife.Actions
fullName: TinyLife.Actions
- uid: TinyLife.NeedType.NeedLowAction
commentId: F:TinyLife.NeedType.NeedLowAction
isExternal: true
- uid: System.Func{TinyLife.Objects.Person,System.TimeSpan}
commentId: T:System.Func{TinyLife.Objects.Person,System.TimeSpan}
parent: System
definition: System.Func`2
name: Func<Person, TimeSpan>
nameWithType: Func<Person, TimeSpan>
fullName: System.Func<TinyLife.Objects.Person, System.TimeSpan>
nameWithType.vb: Func(Of Person, TimeSpan)
fullName.vb: System.Func(Of TinyLife.Objects.Person, System.TimeSpan)
name.vb: Func(Of Person, TimeSpan)
spec.csharp:
- uid: System.Func`2
name: Func
nameWithType: Func
fullName: System.Func
isExternal: true
- name: <
nameWithType: <
fullName: <
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.TimeSpan
name: TimeSpan
nameWithType: TimeSpan
fullName: System.TimeSpan
isExternal: true
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Func`2
name: Func
nameWithType: Func
fullName: System.Func
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.TimeSpan
name: TimeSpan
nameWithType: TimeSpan
fullName: System.TimeSpan
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Single
commentId: T:System.Single
parent: System
isExternal: true
name: Single
nameWithType: Single
fullName: System.Single
2021-11-23 16:24:04 +01:00
- uid: TinyLife.NeedType.SourceString*
commentId: Overload:TinyLife.NeedType.SourceString
name: SourceString
nameWithType: NeedType.SourceString
fullName: TinyLife.NeedType.SourceString
- uid: TinyLife.Emotions.IEmotionSource.SourceString
commentId: P:TinyLife.Emotions.IEmotionSource.SourceString
parent: TinyLife.Emotions.IEmotionSource
name: SourceString
nameWithType: IEmotionSource.SourceString
fullName: TinyLife.Emotions.IEmotionSource.SourceString
2021-08-04 06:51:12 +02:00
- uid: TinyLife.NeedType.#ctor*
commentId: Overload:TinyLife.NeedType.#ctor
name: NeedType
nameWithType: NeedType.NeedType
fullName: TinyLife.NeedType.NeedType
- uid: TinyLife.NeedType.Types
commentId: F:TinyLife.NeedType.Types
isExternal: true
- uid: TinyLife.NeedType.Register*
commentId: Overload:TinyLife.NeedType.Register
name: Register
nameWithType: NeedType.Register
fullName: TinyLife.NeedType.Register