TinyLifeWeb/docs/api/TinyLife.Objects.DeathReason.yml
2024-02-02 18:13:42 +01:00

337 lines
10 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: TinyLife.Objects.DeathReason
commentId: T:TinyLife.Objects.DeathReason
id: DeathReason
parent: TinyLife.Objects
children:
- TinyLife.Objects.DeathReason.Electrocution
- TinyLife.Objects.DeathReason.InexplicableReasons
- TinyLife.Objects.DeathReason.Starvation
- TinyLife.Objects.DeathReason.TooMuchBrew
- TinyLife.Objects.DeathReason.TooMuchProtein
langs:
- csharp
- vb
name: DeathReason
nameWithType: DeathReason
fullName: TinyLife.Objects.DeathReason
type: Enum
source:
remote:
path: TinyLife/Objects/Person.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DeathReason
path: ../TinyLife/Objects/Person.cs
startLine: 3594
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: An enum that represents a set of possible reasons for a <xref href="TinyLife.Objects.Person" data-throw-if-not-resolved="false"></xref>'s death
example: []
syntax:
content: public enum DeathReason
content.vb: Public Enum DeathReason
extensionMethods:
- TinyLife.Objects.DeathReason.TinyLife.Utilities.Extensions.JsonCopy``1
- uid: TinyLife.Objects.DeathReason.Starvation
commentId: F:TinyLife.Objects.DeathReason.Starvation
id: Starvation
parent: TinyLife.Objects.DeathReason
langs:
- csharp
- vb
name: Starvation
nameWithType: DeathReason.Starvation
fullName: TinyLife.Objects.DeathReason.Starvation
type: Field
source:
remote:
path: TinyLife/Objects/Person.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Starvation
path: ../TinyLife/Objects/Person.cs
startLine: 3600
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
A death reason that represents that a person died from hunger.
This value is used by <xref href="TinyLife.Actions.StarveAction" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: Starvation = 0
return:
type: TinyLife.Objects.DeathReason
- uid: TinyLife.Objects.DeathReason.InexplicableReasons
commentId: F:TinyLife.Objects.DeathReason.InexplicableReasons
id: InexplicableReasons
parent: TinyLife.Objects.DeathReason
langs:
- csharp
- vb
name: InexplicableReasons
nameWithType: DeathReason.InexplicableReasons
fullName: TinyLife.Objects.DeathReason.InexplicableReasons
type: Field
source:
remote:
path: TinyLife/Objects/Person.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: InexplicableReasons
path: ../TinyLife/Objects/Person.cs
startLine: 3605
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
A death reason that represents that a person died from an unknown reason.
This is only used by the "Die" cheat.
example: []
syntax:
content: InexplicableReasons = 1
return:
type: TinyLife.Objects.DeathReason
- uid: TinyLife.Objects.DeathReason.Electrocution
commentId: F:TinyLife.Objects.DeathReason.Electrocution
id: Electrocution
parent: TinyLife.Objects.DeathReason
langs:
- csharp
- vb
name: Electrocution
nameWithType: DeathReason.Electrocution
fullName: TinyLife.Objects.DeathReason.Electrocution
type: Field
source:
remote:
path: TinyLife/Objects/Person.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Electrocution
path: ../TinyLife/Objects/Person.cs
startLine: 3610
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
A death reason that represents that a person died from electric shock.
This value is used by <xref href="TinyLife.Actions.RepairAction" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: Electrocution = 2
return:
type: TinyLife.Objects.DeathReason
- uid: TinyLife.Objects.DeathReason.TooMuchProtein
commentId: F:TinyLife.Objects.DeathReason.TooMuchProtein
id: TooMuchProtein
parent: TinyLife.Objects.DeathReason
langs:
- csharp
- vb
name: TooMuchProtein
nameWithType: DeathReason.TooMuchProtein
fullName: TinyLife.Objects.DeathReason.TooMuchProtein
type: Field
source:
remote:
path: TinyLife/Objects/Person.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TooMuchProtein
path: ../TinyLife/Objects/Person.cs
startLine: 3614
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: A death reason that represents that a person died from drinking too many protein shakes
example: []
syntax:
content: TooMuchProtein = 3
return:
type: TinyLife.Objects.DeathReason
- uid: TinyLife.Objects.DeathReason.TooMuchBrew
commentId: F:TinyLife.Objects.DeathReason.TooMuchBrew
id: TooMuchBrew
parent: TinyLife.Objects.DeathReason
langs:
- csharp
- vb
name: TooMuchBrew
nameWithType: DeathReason.TooMuchBrew
fullName: TinyLife.Objects.DeathReason.TooMuchBrew
type: Field
source:
remote:
path: TinyLife/Objects/Person.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TooMuchBrew
path: ../TinyLife/Objects/Person.cs
startLine: 3618
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: A death reason that represents that a person died from drinking too much brew, which represents alcohol.
example: []
syntax:
content: TooMuchBrew = 4
return:
type: TinyLife.Objects.DeathReason
references:
- uid: TinyLife.Objects.Person
commentId: T:TinyLife.Objects.Person
parent: TinyLife.Objects
href: TinyLife.Objects.Person.html
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
href: TinyLife.html
name: TinyLife.Objects
nameWithType: TinyLife.Objects
fullName: TinyLife.Objects
spec.csharp:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Objects
name: Objects
href: TinyLife.Objects.html
spec.vb:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Objects
name: Objects
href: TinyLife.Objects.html
- uid: TinyLife.Objects.DeathReason.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<DeathReason>(DeathReason)
nameWithType: Extensions.JsonCopy<DeathReason>(DeathReason)
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.Objects.DeathReason>(TinyLife.Objects.DeathReason)
nameWithType.vb: Extensions.JsonCopy(Of DeathReason)(DeathReason)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Objects.DeathReason)(TinyLife.Objects.DeathReason)
name.vb: JsonCopy(Of DeathReason)(DeathReason)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Objects.DeathReason)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: <
- uid: TinyLife.Objects.DeathReason
name: DeathReason
href: TinyLife.Objects.DeathReason.html
- name: '>'
- name: (
- uid: TinyLife.Objects.DeathReason
name: DeathReason
href: TinyLife.Objects.DeathReason.html
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Objects.DeathReason)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: (
- name: Of
- name: " "
- uid: TinyLife.Objects.DeathReason
name: DeathReason
href: TinyLife.Objects.DeathReason.html
- name: )
- name: (
- uid: TinyLife.Objects.DeathReason
name: DeathReason
href: TinyLife.Objects.DeathReason.html
- name: )
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
name: JsonCopy<T>(T)
nameWithType: Extensions.JsonCopy<T>(T)
fullName: TinyLife.Utilities.Extensions.JsonCopy<T>(T)
nameWithType.vb: Extensions.JsonCopy(Of T)(T)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of T)(T)
name.vb: JsonCopy(Of T)(T)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: <
- name: T
- name: '>'
- name: (
- name: T
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: (
- name: Of
- name: " "
- name: T
- name: )
- name: (
- name: T
- name: )
- uid: TinyLife.Utilities.Extensions
commentId: T:TinyLife.Utilities.Extensions
parent: TinyLife.Utilities
href: TinyLife.Utilities.Extensions.html
name: Extensions
nameWithType: Extensions
fullName: TinyLife.Utilities.Extensions
- uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities
href: TinyLife.html
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities
spec.csharp:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Utilities
name: Utilities
href: TinyLife.Utilities.html
spec.vb:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Utilities
name: Utilities
href: TinyLife.Utilities.html
- uid: TinyLife.Actions.StarveAction
commentId: T:TinyLife.Actions.StarveAction
href: TinyLife.Actions.StarveAction.html
name: StarveAction
nameWithType: StarveAction
fullName: TinyLife.Actions.StarveAction
- uid: TinyLife.Objects.DeathReason
commentId: T:TinyLife.Objects.DeathReason
parent: TinyLife.Objects
href: TinyLife.Objects.DeathReason.html
name: DeathReason
nameWithType: DeathReason
fullName: TinyLife.Objects.DeathReason
- uid: TinyLife.Actions.RepairAction
commentId: T:TinyLife.Actions.RepairAction
href: TinyLife.Actions.RepairAction.html
name: RepairAction
nameWithType: RepairAction
fullName: TinyLife.Actions.RepairAction