TinyLifeWeb/docs/api/TinyLife.NeedType.yml

1416 lines
46 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:
2023-01-16 12:24:01 +01:00
- 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,System.Single)
2021-08-04 06:51:12 +02:00
- TinyLife.NeedType.Energy
- TinyLife.NeedType.Entertainment
2023-07-20 14:27:20 +02:00
- TinyLife.NeedType.GetPassiveReduction(TinyLife.Objects.Person)
2021-08-04 06:51:12 +02:00
- TinyLife.NeedType.Hunger
- TinyLife.NeedType.Hygiene
- TinyLife.NeedType.Name
- TinyLife.NeedType.NeedLowAction
- TinyLife.NeedType.NeedLowTime
2023-07-20 14:27:20 +02:00
- TinyLife.NeedType.OnGetPassiveReduction
2021-08-04 06:51:12 +02:00
- TinyLife.NeedType.PassiveReduction
- TinyLife.NeedType.Register(TinyLife.NeedType)
- TinyLife.NeedType.Social
- TinyLife.NeedType.SolveImportance
2023-01-16 12:24:01 +01:00
- TinyLife.NeedType.SolvePercentage
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
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
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
2023-03-30 18:07:55 +02:00
startLine: 91
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))>
2023-03-30 18:07:55 +02:00
Public Class NeedType 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
- 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
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
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
2023-03-30 18:07:55 +02:00
startLine: 99
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
- 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
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
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
2023-07-20 14:27:20 +02:00
startLine: 102
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
- 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
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
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
2023-07-20 14:27:20 +02:00
startLine: 119
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
- 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
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
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
2023-07-20 14:27:20 +02:00
startLine: 126
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
- 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
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
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
2023-07-20 14:27:20 +02:00
startLine: 137
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
- 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
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
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
2023-07-20 14:27:20 +02:00
startLine: 144
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
- 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
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
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
2023-07-20 14:27:20 +02:00
startLine: 145
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
2023-07-20 14:27:20 +02:00
- uid: TinyLife.NeedType.OnGetPassiveReduction
commentId: E:TinyLife.NeedType.OnGetPassiveReduction
id: OnGetPassiveReduction
parent: TinyLife.NeedType
langs:
- csharp
- vb
name: OnGetPassiveReduction
nameWithType: NeedType.OnGetPassiveReduction
fullName: TinyLife.NeedType.OnGetPassiveReduction
type: Event
source:
remote:
path: TinyLife/Need.cs
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
2023-07-20 14:27:20 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnGetPassiveReduction
path: ../TinyLife/Need.cs
startLine: 157
assemblies:
- Tiny Life
namespace: TinyLife
summary: "\nAn event that is raised when <xref href=\"TinyLife.NeedType.GetPassiveReduction(TinyLife.Objects.Person)\" data-throw-if-not-resolved=\"false\"></xref> is called. This event can be used to modify the passive need reduction of a need.\n"
example: []
syntax:
content: public static event NeedType.PassiveReductionDelegate OnGetPassiveReduction
return:
type: TinyLife.NeedType.PassiveReductionDelegate
content.vb: Public Shared Event OnGetPassiveReduction As NeedType.PassiveReductionDelegate
2021-08-04 06:51:12 +02:00
- 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
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
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
2023-07-20 14:27:20 +02:00
startLine: 163
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
- 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
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
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
2023-07-20 14:27:20 +02:00
startLine: 168
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife
2023-07-20 14:27:20 +02:00
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.\nTo access this function&apos;s returned value, as well as the associated events, use <xref href=\"TinyLife.NeedType.GetPassiveReduction(TinyLife.Objects.Person)\" data-throw-if-not-resolved=\"false\"></xref>.\n"
2021-08-04 06:51:12 +02:00
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)
- 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
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
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
2023-07-20 14:27:20 +02:00
startLine: 172
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)
- 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
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
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
2023-07-20 14:27:20 +02:00
startLine: 176
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)
- 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
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
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
2023-07-20 14:27:20 +02:00
startLine: 181
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
2023-01-16 12:24:01 +01:00
- uid: TinyLife.NeedType.SolvePercentage
commentId: F:TinyLife.NeedType.SolvePercentage
id: SolvePercentage
parent: TinyLife.NeedType
langs:
- csharp
- vb
name: SolvePercentage
nameWithType: NeedType.SolvePercentage
fullName: TinyLife.NeedType.SolvePercentage
type: Field
source:
remote:
path: TinyLife/Need.cs
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
2023-01-16 12:24:01 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SolvePercentage
path: ../TinyLife/Need.cs
2023-07-20 14:27:20 +02:00
startLine: 185
2023-01-16 12:24:01 +01:00
assemblies:
- Tiny Life
namespace: TinyLife
2023-04-26 14:51:19 +02:00
summary: "\nThe percentage that this need has to be at or below for it to be auto-solved based on <xref href=\"TinyLife.Actions.ActionType.AiSettings.SolvedNeeds\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
2023-01-16 12:24:01 +01:00
syntax:
content: public readonly float SolvePercentage
return:
type: System.Single
content.vb: Public ReadOnly SolvePercentage As Single
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
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
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
2023-07-20 14:27:20 +02:00
startLine: 187
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
2023-01-16 12:24:01 +01: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,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,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,System.Single)'
2021-08-04 06:51:12 +02:00
parent: TinyLife.NeedType
langs:
- csharp
- vb
2023-03-30 18:07:55 +02:00
name: NeedType(string, Func<Person, float>, Func<Person, ActionType>, Func<Person, TimeSpan>, float, float)
nameWithType: NeedType.NeedType(string, Func<Person, float>, Func<Person, ActionType>, Func<Person, TimeSpan>, float, float)
fullName: TinyLife.NeedType.NeedType(string, System.Func<TinyLife.Objects.Person, float>, System.Func<TinyLife.Objects.Person, TinyLife.Actions.ActionType>, System.Func<TinyLife.Objects.Person, System.TimeSpan>, float, float)
2021-08-04 06:51:12 +02:00
type: Constructor
source:
remote:
path: TinyLife/Need.cs
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
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
2023-07-20 14:27:20 +02:00
startLine: 198
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:
2023-03-30 18:07:55 +02:00
content: public NeedType(string name, Func<Person, float> passiveReduction, Func<Person, ActionType> needLowAction = null, Func<Person, TimeSpan> needLowTime = null, float solveImportance = 0, float solvePercentage = 0.5)
2021-08-04 06:51:12 +02:00
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
2023-01-16 12:24:01 +01:00
- id: solvePercentage
type: System.Single
2023-04-26 14:51:19 +02:00
description: The percentage that this need has to be at or below for it to be auto-solved based on <xref href="TinyLife.Actions.ActionType.AiSettings.SolvedNeeds" data-throw-if-not-resolved="false"></xref>.
2023-03-30 18:07:55 +02:00
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 = 0, solvePercentage As Single = 0.5)
2021-08-04 06:51:12 +02:00
overload: TinyLife.NeedType.#ctor*
2023-03-30 18:07:55 +02:00
nameWithType.vb: NeedType.New(String, Func(Of Person, Single), Func(Of Person, ActionType), Func(Of Person, TimeSpan), Single, Single)
fullName.vb: TinyLife.NeedType.New(String, System.Func(Of TinyLife.Objects.Person, Single), System.Func(Of TinyLife.Objects.Person, TinyLife.Actions.ActionType), System.Func(Of TinyLife.Objects.Person, System.TimeSpan), Single, Single)
name.vb: New(String, Func(Of Person, Single), Func(Of Person, ActionType), Func(Of Person, TimeSpan), Single, Single)
2023-07-20 14:27:20 +02:00
- uid: TinyLife.NeedType.GetPassiveReduction(TinyLife.Objects.Person)
commentId: M:TinyLife.NeedType.GetPassiveReduction(TinyLife.Objects.Person)
id: GetPassiveReduction(TinyLife.Objects.Person)
parent: TinyLife.NeedType
langs:
- csharp
- vb
name: GetPassiveReduction(Person)
nameWithType: NeedType.GetPassiveReduction(Person)
fullName: TinyLife.NeedType.GetPassiveReduction(TinyLife.Objects.Person)
type: Method
source:
remote:
path: TinyLife/Need.cs
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
2023-07-20 14:27:20 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPassiveReduction
path: ../TinyLife/Need.cs
startLine: 213
assemblies:
- Tiny Life
namespace: TinyLife
summary: "\nReturns this need&apos;s current passive reduction for the given <code data-dev-comment-type=\"paramref\" class=\"paramref\">person</code>.\nThe return value is a combination of <xref href=\"TinyLife.NeedType.PassiveReduction\" data-throw-if-not-resolved=\"false\"></xref> and the <xref href=\"TinyLife.NeedType.OnGetPassiveReduction\" data-throw-if-not-resolved=\"false\"></xref> event.\n"
example: []
syntax:
content: public float GetPassiveReduction(Person person)
parameters:
- id: person
type: TinyLife.Objects.Person
description: The person.
return:
type: System.Single
description: The passive need reduction.
content.vb: Public Function GetPassiveReduction(person As Person) As Single
overload: TinyLife.NeedType.GetPassiveReduction*
2021-08-04 06:51:12 +02:00
- 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
2023-11-18 12:57:05 +01:00
branch: 0.37.5-dev
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
2023-07-20 14:27:20 +02:00
startLine: 224
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
2023-07-20 14:27:20 +02:00
description: The need type passed, for chaining
2021-08-04 06:51:12 +02:00
content.vb: Public Shared Function Register(type As NeedType) As NeedType
overload: TinyLife.NeedType.Register*
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)
2023-03-30 18:07:55 +02:00
name: Register(NeedType)
nameWithType: NeedType.Register(NeedType)
fullName: TinyLife.NeedType.Register(TinyLife.NeedType)
spec.csharp:
- uid: TinyLife.NeedType.Register(TinyLife.NeedType)
name: Register
- name: (
- uid: TinyLife.NeedType
name: NeedType
- name: )
spec.vb:
- uid: TinyLife.NeedType.Register(TinyLife.NeedType)
name: Register
- name: (
- uid: TinyLife.NeedType
name: NeedType
- name: )
2021-08-04 06:51:12 +02:00
- uid: TinyLife
commentId: N:TinyLife
name: TinyLife
nameWithType: TinyLife
fullName: TinyLife
- uid: System.Object
commentId: T:System.Object
parent: System
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object
name: object
nameWithType: object
fullName: object
nameWithType.vb: Object
fullName.vb: Object
name.vb: 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
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
name: Equals(object)
nameWithType: object.Equals(object)
fullName: object.Equals(object)
nameWithType.vb: Object.Equals(Object)
fullName.vb: Object.Equals(Object)
name.vb: Equals(Object)
2021-08-04 06:51:12 +02:00
spec.csharp:
- uid: System.Object.Equals(System.Object)
name: Equals
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
2021-08-04 06:51:12 +02:00
- name: (
- uid: System.Object
2023-03-30 18:07:55 +02:00
name: object
2021-08-04 06:51:12 +02:00
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object
2021-08-04 06:51:12 +02:00
- name: )
spec.vb:
- uid: System.Object.Equals(System.Object)
name: Equals
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
2021-08-04 06:51:12 +02:00
- name: (
- uid: System.Object
name: Object
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object
2021-08-04 06:51:12 +02:00
- name: )
- uid: System.Object.Equals(System.Object,System.Object)
commentId: M:System.Object.Equals(System.Object,System.Object)
parent: System.Object
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
name: Equals(object, object)
nameWithType: object.Equals(object, object)
fullName: object.Equals(object, object)
nameWithType.vb: Object.Equals(Object, Object)
fullName.vb: Object.Equals(Object, Object)
name.vb: Equals(Object, Object)
2021-08-04 06:51:12 +02:00
spec.csharp:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
2021-08-04 06:51:12 +02:00
- name: (
- uid: System.Object
2023-03-30 18:07:55 +02:00
name: object
2021-08-04 06:51:12 +02:00
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
2021-08-04 06:51:12 +02:00
- uid: System.Object
2023-03-30 18:07:55 +02:00
name: object
2021-08-04 06:51:12 +02:00
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object
2021-08-04 06:51:12 +02:00
- name: )
spec.vb:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
2021-08-04 06:51:12 +02:00
- name: (
- uid: System.Object
name: Object
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
2021-08-04 06:51:12 +02:00
- uid: System.Object
name: Object
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object
2021-08-04 06:51:12 +02:00
- name: )
- uid: System.Object.GetHashCode
commentId: M:System.Object.GetHashCode
parent: System.Object
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
2021-08-04 06:51:12 +02:00
name: GetHashCode()
2023-03-30 18:07:55 +02:00
nameWithType: object.GetHashCode()
fullName: object.GetHashCode()
nameWithType.vb: Object.GetHashCode()
fullName.vb: Object.GetHashCode()
2021-08-04 06:51:12 +02:00
spec.csharp:
- uid: System.Object.GetHashCode
name: GetHashCode
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
2021-08-04 06:51:12 +02:00
- name: (
- name: )
spec.vb:
- uid: System.Object.GetHashCode
name: GetHashCode
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
2021-08-04 06:51:12 +02:00
- name: (
- name: )
- uid: System.Object.GetType
commentId: M:System.Object.GetType
parent: System.Object
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
2021-08-04 06:51:12 +02:00
name: GetType()
2023-03-30 18:07:55 +02:00
nameWithType: object.GetType()
fullName: object.GetType()
nameWithType.vb: Object.GetType()
fullName.vb: Object.GetType()
2021-08-04 06:51:12 +02:00
spec.csharp:
- uid: System.Object.GetType
name: GetType
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
2021-08-04 06:51:12 +02:00
- name: (
- name: )
spec.vb:
- uid: System.Object.GetType
name: GetType
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
2021-08-04 06:51:12 +02:00
- name: (
- name: )
- uid: System.Object.MemberwiseClone
commentId: M:System.Object.MemberwiseClone
parent: System.Object
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
2021-08-04 06:51:12 +02:00
name: MemberwiseClone()
2023-03-30 18:07:55 +02:00
nameWithType: object.MemberwiseClone()
fullName: object.MemberwiseClone()
nameWithType.vb: Object.MemberwiseClone()
fullName.vb: Object.MemberwiseClone()
2021-08-04 06:51:12 +02:00
spec.csharp:
- uid: System.Object.MemberwiseClone
name: MemberwiseClone
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
2021-08-04 06:51:12 +02:00
- name: (
- name: )
spec.vb:
- uid: System.Object.MemberwiseClone
name: MemberwiseClone
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
2021-08-04 06:51:12 +02:00
- name: (
- name: )
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
commentId: M:System.Object.ReferenceEquals(System.Object,System.Object)
parent: System.Object
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
name: ReferenceEquals(object, object)
nameWithType: object.ReferenceEquals(object, object)
fullName: object.ReferenceEquals(object, object)
nameWithType.vb: Object.ReferenceEquals(Object, Object)
fullName.vb: Object.ReferenceEquals(Object, Object)
name.vb: ReferenceEquals(Object, Object)
2021-08-04 06:51:12 +02:00
spec.csharp:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
2021-08-04 06:51:12 +02:00
- name: (
- uid: System.Object
2023-03-30 18:07:55 +02:00
name: object
2021-08-04 06:51:12 +02:00
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
2021-08-04 06:51:12 +02:00
- uid: System.Object
2023-03-30 18:07:55 +02:00
name: object
2021-08-04 06:51:12 +02:00
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object
2021-08-04 06:51:12 +02:00
- name: )
spec.vb:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
2021-08-04 06:51:12 +02:00
- name: (
- uid: System.Object
name: Object
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
2021-08-04 06:51:12 +02:00
- uid: System.Object
name: Object
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object
2021-08-04 06:51:12 +02:00
- name: )
- uid: System.Object.ToString
commentId: M:System.Object.ToString
parent: System.Object
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
2021-08-04 06:51:12 +02:00
name: ToString()
2023-03-30 18:07:55 +02:00
nameWithType: object.ToString()
fullName: object.ToString()
nameWithType.vb: Object.ToString()
fullName.vb: Object.ToString()
2021-08-04 06:51:12 +02:00
spec.csharp:
- uid: System.Object.ToString
name: ToString
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
2021-08-04 06:51:12 +02:00
- name: (
- name: )
spec.vb:
- uid: System.Object.ToString
name: ToString
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
2021-08-04 06:51:12 +02:00
- name: (
- name: )
- 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)
2023-03-30 18:07:55 +02:00
name: JsonCopy<NeedType>(NeedType)
nameWithType: Extensions.JsonCopy<NeedType>(NeedType)
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.NeedType>(TinyLife.NeedType)
nameWithType.vb: Extensions.JsonCopy(Of NeedType)(NeedType)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.NeedType)(TinyLife.NeedType)
name.vb: JsonCopy(Of NeedType)(NeedType)
2021-08-04 06:51:12 +02:00
spec.csharp:
2023-03-30 18:07:55 +02:00
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.NeedType)
name: JsonCopy
- name: <
- uid: TinyLife.NeedType
name: NeedType
- name: '>'
2021-08-04 06:51:12 +02:00
- name: (
2023-03-30 18:07:55 +02:00
- uid: TinyLife.NeedType
name: NeedType
2021-08-04 06:51:12 +02:00
- name: )
spec.vb:
2023-03-30 18:07:55 +02:00
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.NeedType)
name: JsonCopy
2021-08-04 06:51:12 +02:00
- name: (
2023-03-30 18:07:55 +02:00
- name: Of
- name: " "
- uid: TinyLife.NeedType
name: NeedType
- name: )
- name: (
- uid: TinyLife.NeedType
name: NeedType
2021-08-04 06:51:12 +02:00
- name: )
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
name: TinyLife.Objects
nameWithType: TinyLife.Objects
fullName: TinyLife.Objects
2023-03-30 18:07:55 +02:00
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Objects
name: Objects
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Objects
name: Objects
2021-08-04 06:51:12 +02:00
- uid: System
commentId: N:System
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system
2021-08-04 06:51:12 +02:00
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
2023-03-30 18:07:55 +02:00
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Emotions
name: Emotions
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Emotions
name: 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)
2023-03-30 18:07:55 +02:00
name: JsonCopy
- name: <
- name: T
- name: '>'
2021-08-04 06:51:12 +02:00
- name: (
- name: T
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
2023-03-30 18:07:55 +02:00
name: JsonCopy
- name: (
- name: Of
- name: " "
- name: T
- name: )
2021-08-04 06:51:12 +02:00
- name: (
- name: T
- name: )
- 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
2023-03-30 18:07:55 +02:00
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Utilities
name: Utilities
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Utilities
name: 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
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.readonlycollection-1
2022-05-24 13:36:05 +02:00
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
2021-08-04 06:51:12 +02:00
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.readonlycollection-1
2021-08-04 06:51:12 +02:00
- name: <
- uid: TinyLife.NeedType
name: NeedType
- name: '>'
spec.vb:
2022-05-24 13:36:05 +02:00
- uid: System.Collections.ObjectModel.ReadOnlyCollection`1
name: ReadOnlyCollection
2021-08-04 06:51:12 +02:00
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.readonlycollection-1
- name: (
- name: Of
- name: " "
2021-08-04 06:51:12 +02:00
- uid: TinyLife.NeedType
name: NeedType
- name: )
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
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.readonlycollection-1
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
2021-08-04 06:51:12 +02:00
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.readonlycollection-1
2021-08-04 06:51:12 +02:00
- name: <
- name: T
- name: '>'
spec.vb:
2022-05-24 13:36:05 +02:00
- uid: System.Collections.ObjectModel.ReadOnlyCollection`1
name: ReadOnlyCollection
2021-08-04 06:51:12 +02:00
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.readonlycollection-1
- name: (
- name: Of
- name: " "
2021-08-04 06:51:12 +02:00
- name: T
- name: )
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
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system
2022-05-24 13:36:05 +02:00
name: System.Collections.ObjectModel
nameWithType: System.Collections.ObjectModel
fullName: System.Collections.ObjectModel
2023-03-30 18:07:55 +02:00
spec.csharp:
- uid: System
name: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
- name: .
- uid: System.Collections
name: Collections
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections
- name: .
- uid: System.Collections.ObjectModel
name: ObjectModel
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.objectmodel
spec.vb:
- uid: System
name: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
- name: .
- uid: System.Collections
name: Collections
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections
- name: .
- uid: System.Collections.ObjectModel
name: ObjectModel
isExternal: true
href: https://learn.microsoft.com/dotnet/api/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
2023-07-20 14:27:20 +02:00
- uid: TinyLife.NeedType.GetPassiveReduction(TinyLife.Objects.Person)
commentId: M:TinyLife.NeedType.GetPassiveReduction(TinyLife.Objects.Person)
name: GetPassiveReduction(Person)
nameWithType: NeedType.GetPassiveReduction(Person)
fullName: TinyLife.NeedType.GetPassiveReduction(TinyLife.Objects.Person)
spec.csharp:
- uid: TinyLife.NeedType.GetPassiveReduction(TinyLife.Objects.Person)
name: GetPassiveReduction
- name: (
- uid: TinyLife.Objects.Person
name: Person
- name: )
spec.vb:
- uid: TinyLife.NeedType.GetPassiveReduction(TinyLife.Objects.Person)
name: GetPassiveReduction
- name: (
- uid: TinyLife.Objects.Person
name: Person
- name: )
- uid: TinyLife.NeedType.PassiveReductionDelegate
commentId: T:TinyLife.NeedType.PassiveReductionDelegate
parent: TinyLife
name: NeedType.PassiveReductionDelegate
nameWithType: NeedType.PassiveReductionDelegate
fullName: TinyLife.NeedType.PassiveReductionDelegate
spec.csharp:
- uid: TinyLife.NeedType
name: NeedType
- name: .
- uid: TinyLife.NeedType.PassiveReductionDelegate
name: PassiveReductionDelegate
spec.vb:
- uid: TinyLife.NeedType
name: NeedType
- name: .
- uid: TinyLife.NeedType.PassiveReductionDelegate
name: PassiveReductionDelegate
2021-08-04 06:51:12 +02:00
- 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
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.string
name: string
nameWithType: string
fullName: string
nameWithType.vb: String
fullName.vb: String
name.vb: String
2021-08-04 06:51:12 +02:00
- uid: TinyLife.Need.Value
commentId: P:TinyLife.Need.Value
2023-03-30 18:07:55 +02:00
name: Value
nameWithType: Need.Value
fullName: TinyLife.Need.Value
2021-08-04 06:51:12 +02:00
- uid: System.Func{TinyLife.Objects.Person,System.Single}
commentId: T:System.Func{TinyLife.Objects.Person,System.Single}
parent: System
definition: System.Func`2
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.func-2
name: Func<Person, float>
nameWithType: Func<Person, float>
fullName: System.Func<TinyLife.Objects.Person, float>
2021-08-04 06:51:12 +02:00
nameWithType.vb: Func(Of Person, Single)
2023-03-30 18:07:55 +02:00
fullName.vb: System.Func(Of TinyLife.Objects.Person, Single)
2021-08-04 06:51:12 +02:00
name.vb: Func(Of Person, Single)
spec.csharp:
- uid: System.Func`2
name: Func
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.func-2
2021-08-04 06:51:12 +02:00
- name: <
- uid: TinyLife.Objects.Person
name: Person
2023-03-30 18:07:55 +02:00
- name: ','
- name: " "
2021-08-04 06:51:12 +02:00
- uid: System.Single
2023-03-30 18:07:55 +02:00
name: float
2021-08-04 06:51:12 +02:00
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.single
2021-08-04 06:51:12 +02:00
- name: '>'
spec.vb:
- uid: System.Func`2
name: Func
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.func-2
- name: (
- name: Of
- name: " "
2021-08-04 06:51:12 +02:00
- uid: TinyLife.Objects.Person
name: Person
2023-03-30 18:07:55 +02:00
- name: ','
- name: " "
2021-08-04 06:51:12 +02:00
- uid: System.Single
name: Single
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.single
2021-08-04 06:51:12 +02:00
- name: )
- uid: System.Func`2
commentId: T:System.Func`2
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.func-2
2021-08-04 06:51:12 +02:00
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
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.func-2
2021-08-04 06:51:12 +02:00
- name: <
- name: T
2023-03-30 18:07:55 +02:00
- name: ','
- name: " "
2021-08-04 06:51:12 +02:00
- name: TResult
- name: '>'
spec.vb:
- uid: System.Func`2
name: Func
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.func-2
- name: (
- name: Of
- name: " "
2021-08-04 06:51:12 +02:00
- name: T
2023-03-30 18:07:55 +02:00
- name: ','
- name: " "
2021-08-04 06:51:12 +02:00
- name: TResult
- name: )
- 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
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.func-2
2021-08-04 06:51:12 +02:00
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
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.func-2
2021-08-04 06:51:12 +02:00
- name: <
- uid: TinyLife.Objects.Person
name: Person
2023-03-30 18:07:55 +02:00
- name: ','
- name: " "
2021-08-04 06:51:12 +02:00
- uid: TinyLife.Actions.ActionType
name: ActionType
- name: '>'
spec.vb:
- uid: System.Func`2
name: Func
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.func-2
- name: (
- name: Of
- name: " "
2021-08-04 06:51:12 +02:00
- uid: TinyLife.Objects.Person
name: Person
2023-03-30 18:07:55 +02:00
- name: ','
- name: " "
2021-08-04 06:51:12 +02:00
- uid: TinyLife.Actions.ActionType
name: ActionType
- name: )
- uid: TinyLife.Actions
commentId: N:TinyLife.Actions
name: TinyLife.Actions
nameWithType: TinyLife.Actions
fullName: TinyLife.Actions
2023-03-30 18:07:55 +02:00
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Actions
name: Actions
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Actions
name: Actions
2021-08-04 06:51:12 +02:00
- uid: TinyLife.NeedType.NeedLowAction
commentId: F:TinyLife.NeedType.NeedLowAction
2023-03-30 18:07:55 +02:00
name: NeedLowAction
nameWithType: NeedType.NeedLowAction
fullName: TinyLife.NeedType.NeedLowAction
2021-08-04 06:51:12 +02:00
- uid: System.Func{TinyLife.Objects.Person,System.TimeSpan}
commentId: T:System.Func{TinyLife.Objects.Person,System.TimeSpan}
parent: System
definition: System.Func`2
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.func-2
2021-08-04 06:51:12 +02:00
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
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.func-2
2021-08-04 06:51:12 +02:00
- name: <
- uid: TinyLife.Objects.Person
name: Person
2023-03-30 18:07:55 +02:00
- name: ','
- name: " "
2021-08-04 06:51:12 +02:00
- uid: System.TimeSpan
name: TimeSpan
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.timespan
2021-08-04 06:51:12 +02:00
- name: '>'
spec.vb:
- uid: System.Func`2
name: Func
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.func-2
- name: (
- name: Of
- name: " "
2021-08-04 06:51:12 +02:00
- uid: TinyLife.Objects.Person
name: Person
2023-03-30 18:07:55 +02:00
- name: ','
- name: " "
2021-08-04 06:51:12 +02:00
- uid: System.TimeSpan
name: TimeSpan
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.timespan
2021-08-04 06:51:12 +02:00
- name: )
- uid: System.Single
commentId: T:System.Single
parent: System
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.single
name: float
nameWithType: float
fullName: float
nameWithType.vb: Single
fullName.vb: Single
name.vb: Single
2023-04-26 14:51:19 +02:00
- uid: TinyLife.Actions.ActionType.AiSettings.SolvedNeeds
commentId: F:TinyLife.Actions.ActionType.AiSettings.SolvedNeeds
name: SolvedNeeds
nameWithType: ActionType.AiSettings.SolvedNeeds
fullName: TinyLife.Actions.ActionType.AiSettings.SolvedNeeds
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
2023-03-30 18:07:55 +02:00
nameWithType.vb: NeedType.New
fullName.vb: TinyLife.NeedType.New
name.vb: New
2023-07-20 14:27:20 +02:00
- uid: TinyLife.NeedType.PassiveReduction
commentId: F:TinyLife.NeedType.PassiveReduction
name: PassiveReduction
nameWithType: NeedType.PassiveReduction
fullName: TinyLife.NeedType.PassiveReduction
- uid: TinyLife.NeedType.OnGetPassiveReduction
commentId: E:TinyLife.NeedType.OnGetPassiveReduction
name: OnGetPassiveReduction
nameWithType: NeedType.OnGetPassiveReduction
fullName: TinyLife.NeedType.OnGetPassiveReduction
- uid: TinyLife.NeedType.GetPassiveReduction*
commentId: Overload:TinyLife.NeedType.GetPassiveReduction
name: GetPassiveReduction
nameWithType: NeedType.GetPassiveReduction
fullName: TinyLife.NeedType.GetPassiveReduction
2021-08-04 06:51:12 +02:00
- uid: TinyLife.NeedType.Types
commentId: F:TinyLife.NeedType.Types
2023-03-30 18:07:55 +02:00
name: Types
nameWithType: NeedType.Types
fullName: TinyLife.NeedType.Types
2021-08-04 06:51:12 +02:00
- uid: TinyLife.NeedType.Register*
commentId: Overload:TinyLife.NeedType.Register
name: Register
nameWithType: NeedType.Register
fullName: TinyLife.NeedType.Register