### YamlMime:ManagedReference items: - uid: TinyLife.Objects.PersonAi commentId: T:TinyLife.Objects.PersonAi id: PersonAi parent: TinyLife.Objects children: - TinyLife.Objects.PersonAi.StartAutomatically(TinyLife.Objects.PersonLike,TinyLife.Actions.ActionType,System.Boolean,System.Boolean,TinyLife.Actions.ActionArgument[]) langs: - csharp - vb name: PersonAi nameWithType: PersonAi fullName: TinyLife.Objects.PersonAi type: Class source: remote: path: TinyLife/Objects/PersonAi.cs branch: main repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PersonAi path: ../TinyLife/Objects/PersonAi.cs startLine: 15 assemblies: - Tiny Life namespace: TinyLife.Objects summary: >- This class holds the artificial intelligence implementation for a . The AI automatically selects actions based on their . example: [] syntax: content: public class PersonAi content.vb: Public Class PersonAi inheritance: - System.Object inheritedMembers: - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) - System.Object.GetHashCode - System.Object.GetType - System.Object.MemberwiseClone - System.Object.ReferenceEquals(System.Object,System.Object) - System.Object.ToString extensionMethods: - TinyLife.Objects.PersonAi.TinyLife.Utilities.Extensions.JsonCopy``1 - uid: TinyLife.Objects.PersonAi.StartAutomatically(TinyLife.Objects.PersonLike,TinyLife.Actions.ActionType,System.Boolean,System.Boolean,TinyLife.Actions.ActionArgument[]) commentId: M:TinyLife.Objects.PersonAi.StartAutomatically(TinyLife.Objects.PersonLike,TinyLife.Actions.ActionType,System.Boolean,System.Boolean,TinyLife.Actions.ActionArgument[]) id: StartAutomatically(TinyLife.Objects.PersonLike,TinyLife.Actions.ActionType,System.Boolean,System.Boolean,TinyLife.Actions.ActionArgument[]) parent: TinyLife.Objects.PersonAi langs: - csharp - vb name: StartAutomatically(PersonLike, ActionType, bool, bool, params ActionArgument[]) nameWithType: PersonAi.StartAutomatically(PersonLike, ActionType, bool, bool, params ActionArgument[]) fullName: TinyLife.Objects.PersonAi.StartAutomatically(TinyLife.Objects.PersonLike, TinyLife.Actions.ActionType, bool, bool, params TinyLife.Actions.ActionArgument[]) type: Method source: remote: path: TinyLife/Objects/PersonAi.cs branch: main repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StartAutomatically path: ../TinyLife/Objects/PersonAi.cs startLine: 139 assemblies: - Tiny Life namespace: TinyLife.Objects summary: Causes a person to start the given action automatically with the same behavior that it would have if started by the example: [] syntax: content: public static bool StartAutomatically(PersonLike person, ActionType type, bool priority = false, bool force = false, params ActionArgument[] chosenArguments) parameters: - id: person type: TinyLife.Objects.PersonLike description: The person who should start the action - id: type type: TinyLife.Actions.ActionType description: The action to start - id: priority type: System.Boolean description: Whether to add this action to the start of the action queue rather than the end. This is passed to . - id: force type: System.Boolean description: Whether to force-start the action. This is passed to . - id: chosenArguments type: TinyLife.Actions.ActionArgument[] description: The set of values to pass to . If this is empty or null, arguments will automatically be generated randomly. return: type: System.Boolean description: Whether the action was successfully started content.vb: Public Shared Function StartAutomatically(person As PersonLike, type As ActionType, priority As Boolean = False, force As Boolean = False, ParamArray chosenArguments As ActionArgument()) As Boolean overload: TinyLife.Objects.PersonAi.StartAutomatically* nameWithType.vb: PersonAi.StartAutomatically(PersonLike, ActionType, Boolean, Boolean, ParamArray ActionArgument()) fullName.vb: TinyLife.Objects.PersonAi.StartAutomatically(TinyLife.Objects.PersonLike, TinyLife.Actions.ActionType, Boolean, Boolean, ParamArray TinyLife.Actions.ActionArgument()) name.vb: StartAutomatically(PersonLike, ActionType, Boolean, Boolean, ParamArray ActionArgument()) references: - uid: TinyLife.Objects.PersonLike commentId: T:TinyLife.Objects.PersonLike parent: TinyLife.Objects href: TinyLife.Objects.PersonLike.html name: PersonLike nameWithType: PersonLike fullName: TinyLife.Objects.PersonLike - uid: TinyLife.Actions.ActionType.AiSettings commentId: T:TinyLife.Actions.ActionType.AiSettings parent: TinyLife.Actions href: TinyLife.Actions.ActionType.html name: ActionType.AiSettings nameWithType: ActionType.AiSettings fullName: TinyLife.Actions.ActionType.AiSettings spec.csharp: - uid: TinyLife.Actions.ActionType name: ActionType href: TinyLife.Actions.ActionType.html - name: . - uid: TinyLife.Actions.ActionType.AiSettings name: AiSettings href: TinyLife.Actions.ActionType.AiSettings.html spec.vb: - uid: TinyLife.Actions.ActionType name: ActionType href: TinyLife.Actions.ActionType.html - name: . - uid: TinyLife.Actions.ActionType.AiSettings name: AiSettings href: TinyLife.Actions.ActionType.AiSettings.html - uid: TinyLife.Objects commentId: N:TinyLife.Objects href: TinyLife.html name: TinyLife.Objects nameWithType: TinyLife.Objects fullName: TinyLife.Objects spec.csharp: - uid: TinyLife name: TinyLife href: TinyLife.html - name: . - uid: TinyLife.Objects name: Objects href: TinyLife.Objects.html spec.vb: - uid: TinyLife name: TinyLife href: TinyLife.html - name: . - uid: TinyLife.Objects name: Objects href: TinyLife.Objects.html - uid: System.Object commentId: T:System.Object parent: System isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object name: object nameWithType: object fullName: object nameWithType.vb: Object fullName.vb: Object name.vb: Object - uid: System.Object.Equals(System.Object) commentId: M:System.Object.Equals(System.Object) parent: System.Object isExternal: true 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) spec.csharp: - uid: System.Object.Equals(System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object) - name: ( - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) spec.vb: - uid: System.Object.Equals(System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object) - name: ( - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) - uid: System.Object.Equals(System.Object,System.Object) commentId: M:System.Object.Equals(System.Object,System.Object) parent: System.Object isExternal: true 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) spec.csharp: - uid: System.Object.Equals(System.Object,System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object) - name: ( - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) spec.vb: - uid: System.Object.Equals(System.Object,System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object) - name: ( - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) - uid: System.Object.GetHashCode commentId: M:System.Object.GetHashCode parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode name: GetHashCode() nameWithType: object.GetHashCode() fullName: object.GetHashCode() nameWithType.vb: Object.GetHashCode() fullName.vb: Object.GetHashCode() spec.csharp: - uid: System.Object.GetHashCode name: GetHashCode isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode - name: ( - name: ) spec.vb: - uid: System.Object.GetHashCode name: GetHashCode isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode - name: ( - name: ) - uid: System.Object.GetType commentId: M:System.Object.GetType parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gettype name: GetType() nameWithType: object.GetType() fullName: object.GetType() nameWithType.vb: Object.GetType() fullName.vb: Object.GetType() spec.csharp: - uid: System.Object.GetType name: GetType isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gettype - name: ( - name: ) spec.vb: - uid: System.Object.GetType name: GetType isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gettype - name: ( - name: ) - uid: System.Object.MemberwiseClone commentId: M:System.Object.MemberwiseClone parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone name: MemberwiseClone() nameWithType: object.MemberwiseClone() fullName: object.MemberwiseClone() nameWithType.vb: Object.MemberwiseClone() fullName.vb: Object.MemberwiseClone() spec.csharp: - uid: System.Object.MemberwiseClone name: MemberwiseClone isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone - name: ( - name: ) spec.vb: - uid: System.Object.MemberwiseClone name: MemberwiseClone isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone - name: ( - name: ) - uid: System.Object.ReferenceEquals(System.Object,System.Object) commentId: M:System.Object.ReferenceEquals(System.Object,System.Object) parent: System.Object isExternal: true 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) spec.csharp: - uid: System.Object.ReferenceEquals(System.Object,System.Object) name: ReferenceEquals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals - name: ( - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) spec.vb: - uid: System.Object.ReferenceEquals(System.Object,System.Object) name: ReferenceEquals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals - name: ( - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) - uid: System.Object.ToString commentId: M:System.Object.ToString parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.tostring name: ToString() nameWithType: object.ToString() fullName: object.ToString() nameWithType.vb: Object.ToString() fullName.vb: Object.ToString() spec.csharp: - uid: System.Object.ToString name: ToString isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.tostring - name: ( - name: ) spec.vb: - uid: System.Object.ToString name: ToString isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.tostring - name: ( - name: ) - uid: TinyLife.Objects.PersonAi.TinyLife.Utilities.Extensions.JsonCopy``1 commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0) parent: TinyLife.Utilities.Extensions definition: TinyLife.Utilities.Extensions.JsonCopy``1(``0) href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_ name: JsonCopy(PersonAi) nameWithType: Extensions.JsonCopy(PersonAi) fullName: TinyLife.Utilities.Extensions.JsonCopy(TinyLife.Objects.PersonAi) nameWithType.vb: Extensions.JsonCopy(Of PersonAi)(PersonAi) fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Objects.PersonAi)(TinyLife.Objects.PersonAi) name.vb: JsonCopy(Of PersonAi)(PersonAi) spec.csharp: - uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Objects.PersonAi) name: JsonCopy href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_ - name: < - uid: TinyLife.Objects.PersonAi name: PersonAi href: TinyLife.Objects.PersonAi.html - name: '>' - name: ( - uid: TinyLife.Objects.PersonAi name: PersonAi href: TinyLife.Objects.PersonAi.html - name: ) spec.vb: - uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Objects.PersonAi) name: JsonCopy href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_ - name: ( - name: Of - name: " " - uid: TinyLife.Objects.PersonAi name: PersonAi href: TinyLife.Objects.PersonAi.html - name: ) - name: ( - uid: TinyLife.Objects.PersonAi name: PersonAi href: TinyLife.Objects.PersonAi.html - name: ) - uid: TinyLife.Actions commentId: N:TinyLife.Actions href: TinyLife.html name: TinyLife.Actions nameWithType: TinyLife.Actions fullName: TinyLife.Actions spec.csharp: - uid: TinyLife name: TinyLife href: TinyLife.html - name: . - uid: TinyLife.Actions name: Actions href: TinyLife.Actions.html spec.vb: - uid: TinyLife name: TinyLife href: TinyLife.html - name: . - uid: TinyLife.Actions name: Actions href: TinyLife.Actions.html - uid: System commentId: N:System isExternal: true href: https://learn.microsoft.com/dotnet/api/system name: System nameWithType: System fullName: System - uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0) commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0) href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_ name: JsonCopy(T) nameWithType: Extensions.JsonCopy(T) fullName: TinyLife.Utilities.Extensions.JsonCopy(T) nameWithType.vb: Extensions.JsonCopy(Of T)(T) fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of T)(T) name.vb: JsonCopy(Of T)(T) spec.csharp: - uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0) name: JsonCopy href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_ - name: < - name: T - name: '>' - name: ( - name: T - name: ) spec.vb: - uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0) name: JsonCopy href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_ - name: ( - name: Of - name: " " - name: T - name: ) - name: ( - name: T - name: ) - uid: TinyLife.Utilities.Extensions commentId: T:TinyLife.Utilities.Extensions parent: TinyLife.Utilities href: TinyLife.Utilities.Extensions.html name: Extensions nameWithType: Extensions fullName: TinyLife.Utilities.Extensions - uid: TinyLife.Utilities commentId: N:TinyLife.Utilities href: TinyLife.html name: TinyLife.Utilities nameWithType: TinyLife.Utilities fullName: TinyLife.Utilities spec.csharp: - uid: TinyLife name: TinyLife href: TinyLife.html - name: . - uid: TinyLife.Utilities name: Utilities href: TinyLife.Utilities.html spec.vb: - uid: TinyLife name: TinyLife href: TinyLife.html - name: . - uid: TinyLife.Utilities name: Utilities href: TinyLife.Utilities.html - uid: TinyLife.Objects.PersonAi commentId: T:TinyLife.Objects.PersonAi href: TinyLife.Objects.PersonAi.html name: PersonAi nameWithType: PersonAi fullName: TinyLife.Objects.PersonAi - uid: TinyLife.Objects.PersonLike.EnqueueAction``1(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean,System.Boolean,System.Boolean,TinyLife.Actions.ActionArgument[]) commentId: M:TinyLife.Objects.PersonLike.EnqueueAction``1(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean,System.Boolean,System.Boolean,TinyLife.Actions.ActionArgument[]) parent: TinyLife.Objects.PersonLike isExternal: true href: TinyLife.Objects.PersonLike.html#TinyLife_Objects_PersonLike_EnqueueAction__1_TinyLife_Actions_ActionType_TinyLife_Actions_ActionInfo_System_Boolean_System_Boolean_System_Boolean_TinyLife_Actions_ActionArgument___ name: EnqueueAction(ActionType, ActionInfo, bool, bool, bool, params ActionArgument[]) nameWithType: PersonLike.EnqueueAction(ActionType, ActionInfo, bool, bool, bool, params ActionArgument[]) fullName: TinyLife.Objects.PersonLike.EnqueueAction(TinyLife.Actions.ActionType, TinyLife.Actions.ActionInfo, bool, bool, bool, params TinyLife.Actions.ActionArgument[]) nameWithType.vb: PersonLike.EnqueueAction(Of T)(ActionType, ActionInfo, Boolean, Boolean, Boolean, ParamArray ActionArgument()) fullName.vb: TinyLife.Objects.PersonLike.EnqueueAction(Of T)(TinyLife.Actions.ActionType, TinyLife.Actions.ActionInfo, Boolean, Boolean, Boolean, ParamArray TinyLife.Actions.ActionArgument()) name.vb: EnqueueAction(Of T)(ActionType, ActionInfo, Boolean, Boolean, Boolean, ParamArray ActionArgument()) spec.csharp: - uid: TinyLife.Objects.PersonLike.EnqueueAction``1(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean,System.Boolean,System.Boolean,TinyLife.Actions.ActionArgument[]) name: EnqueueAction href: TinyLife.Objects.PersonLike.html#TinyLife_Objects_PersonLike_EnqueueAction__1_TinyLife_Actions_ActionType_TinyLife_Actions_ActionInfo_System_Boolean_System_Boolean_System_Boolean_TinyLife_Actions_ActionArgument___ - name: < - name: T - name: '>' - name: ( - uid: TinyLife.Actions.ActionType name: ActionType href: TinyLife.Actions.ActionType.html - name: ',' - name: " " - uid: TinyLife.Actions.ActionInfo name: ActionInfo href: TinyLife.Actions.ActionInfo.html - name: ',' - name: " " - uid: System.Boolean name: bool isExternal: true href: https://learn.microsoft.com/dotnet/api/system.boolean - name: ',' - name: " " - uid: System.Boolean name: bool isExternal: true href: https://learn.microsoft.com/dotnet/api/system.boolean - name: ',' - name: " " - uid: System.Boolean name: bool isExternal: true href: https://learn.microsoft.com/dotnet/api/system.boolean - name: ',' - name: " " - name: params - name: " " - uid: TinyLife.Actions.ActionArgument name: ActionArgument href: TinyLife.Actions.ActionArgument.html - name: '[' - name: ']' - name: ) spec.vb: - uid: TinyLife.Objects.PersonLike.EnqueueAction``1(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean,System.Boolean,System.Boolean,TinyLife.Actions.ActionArgument[]) name: EnqueueAction href: TinyLife.Objects.PersonLike.html#TinyLife_Objects_PersonLike_EnqueueAction__1_TinyLife_Actions_ActionType_TinyLife_Actions_ActionInfo_System_Boolean_System_Boolean_System_Boolean_TinyLife_Actions_ActionArgument___ - name: ( - name: Of - name: " " - name: T - name: ) - name: ( - uid: TinyLife.Actions.ActionType name: ActionType href: TinyLife.Actions.ActionType.html - name: ',' - name: " " - uid: TinyLife.Actions.ActionInfo name: ActionInfo href: TinyLife.Actions.ActionInfo.html - name: ',' - name: " " - uid: System.Boolean name: Boolean isExternal: true href: https://learn.microsoft.com/dotnet/api/system.boolean - name: ',' - name: " " - uid: System.Boolean name: Boolean isExternal: true href: https://learn.microsoft.com/dotnet/api/system.boolean - name: ',' - name: " " - uid: System.Boolean name: Boolean isExternal: true href: https://learn.microsoft.com/dotnet/api/system.boolean - name: ',' - name: " " - name: ParamArray - name: " " - uid: TinyLife.Actions.ActionArgument name: ActionArgument href: TinyLife.Actions.ActionArgument.html - name: ( - name: ) - name: ) - uid: TinyLife.Actions.ActionArgument commentId: T:TinyLife.Actions.ActionArgument href: TinyLife.Actions.ActionArgument.html name: ActionArgument nameWithType: ActionArgument fullName: TinyLife.Actions.ActionArgument - uid: TinyLife.Objects.PersonAi.StartAutomatically* commentId: Overload:TinyLife.Objects.PersonAi.StartAutomatically href: TinyLife.Objects.PersonAi.html#TinyLife_Objects_PersonAi_StartAutomatically_TinyLife_Objects_PersonLike_TinyLife_Actions_ActionType_System_Boolean_System_Boolean_TinyLife_Actions_ActionArgument___ name: StartAutomatically nameWithType: PersonAi.StartAutomatically fullName: TinyLife.Objects.PersonAi.StartAutomatically - uid: TinyLife.Actions.ActionType commentId: T:TinyLife.Actions.ActionType parent: TinyLife.Actions href: TinyLife.Actions.ActionType.html name: ActionType nameWithType: ActionType fullName: TinyLife.Actions.ActionType - uid: System.Boolean commentId: T:System.Boolean parent: System isExternal: true href: https://learn.microsoft.com/dotnet/api/system.boolean name: bool nameWithType: bool fullName: bool nameWithType.vb: Boolean fullName.vb: Boolean name.vb: Boolean - uid: TinyLife.Actions.ActionArgument[] isExternal: true href: TinyLife.Actions.ActionArgument.html name: ActionArgument[] nameWithType: ActionArgument[] fullName: TinyLife.Actions.ActionArgument[] nameWithType.vb: ActionArgument() fullName.vb: TinyLife.Actions.ActionArgument() name.vb: ActionArgument() spec.csharp: - uid: TinyLife.Actions.ActionArgument name: ActionArgument href: TinyLife.Actions.ActionArgument.html - name: '[' - name: ']' spec.vb: - uid: TinyLife.Actions.ActionArgument name: ActionArgument href: TinyLife.Actions.ActionArgument.html - name: ( - name: )