TinyLifeWeb/docs/api/TinyLife.Objects.DeathReason.yml
2023-12-06 13:25:52 +01:00

302 lines
8.9 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: 3586
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nAn enum that represents a set of possible reasons for a <xref href=\"TinyLife.Objects.Person\" data-throw-if-not-resolved=\"false\"></xref>&apos;s death\n"
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: 3592
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nA death reason that represents that a person died from hunger.\nThis value is used by <xref href=\"TinyLife.Actions.StarveAction\" data-throw-if-not-resolved=\"false\"></xref>.\n"
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: 3597
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nA death reason that represents that a person died from an unknown reason.\nThis is only used by the &quot;Die&quot; cheat.\n"
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: 3602
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nA death reason that represents that a person died from electric shock.\nThis value is used by <xref href=\"TinyLife.Actions.RepairAction\" data-throw-if-not-resolved=\"false\"></xref>.\n"
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: 3606
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nA death reason that represents that a person died from drinking too many protein shakes\n"
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: 3610
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nA death reason that represents that a person died from drinking too much brew, which represents alcohol.\n"
example: []
syntax:
content: TooMuchBrew = 4
return:
type: TinyLife.Objects.DeathReason
references:
- uid: TinyLife.Objects.Person
commentId: T:TinyLife.Objects.Person
parent: TinyLife.Objects
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
name: TinyLife.Objects
nameWithType: TinyLife.Objects
fullName: TinyLife.Objects
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Objects
name: Objects
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Objects
name: Objects
- 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)
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
- name: <
- uid: TinyLife.Objects.DeathReason
name: DeathReason
- name: '>'
- name: (
- uid: TinyLife.Objects.DeathReason
name: DeathReason
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Objects.DeathReason)
name: JsonCopy
- name: (
- name: Of
- name: " "
- uid: TinyLife.Objects.DeathReason
name: DeathReason
- name: )
- name: (
- uid: TinyLife.Objects.DeathReason
name: DeathReason
- name: )
- 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
- name: <
- name: T
- name: '>'
- name: (
- name: T
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
- name: (
- name: Of
- name: " "
- name: T
- name: )
- 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
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Utilities
name: Utilities
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Utilities
name: Utilities
- uid: TinyLife.Actions.StarveAction
commentId: T:TinyLife.Actions.StarveAction
name: StarveAction
nameWithType: StarveAction
fullName: TinyLife.Actions.StarveAction
- uid: TinyLife.Objects.DeathReason
commentId: T:TinyLife.Objects.DeathReason
parent: TinyLife.Objects
name: DeathReason
nameWithType: DeathReason
fullName: TinyLife.Objects.DeathReason
- uid: TinyLife.Actions.RepairAction
commentId: T:TinyLife.Actions.RepairAction
name: RepairAction
nameWithType: RepairAction
fullName: TinyLife.Actions.RepairAction