TinyLifeWeb/docs/api/TinyLife.Objects.Person.DeathReason.yml
2023-01-19 11:28:13 +01:00

281 lines
8.6 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: TinyLife.Objects.Person.DeathReason
commentId: T:TinyLife.Objects.Person.DeathReason
id: Person.DeathReason
parent: TinyLife.Objects
children:
- TinyLife.Objects.Person.DeathReason.Electrocution
- TinyLife.Objects.Person.DeathReason.InexplicableReasons
- TinyLife.Objects.Person.DeathReason.Starvation
- TinyLife.Objects.Person.DeathReason.TooMuchProtein
langs:
- csharp
- vb
name: Person.DeathReason
nameWithType: Person.DeathReason
fullName: TinyLife.Objects.Person.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: 2692
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.Person.DeathReason.TinyLife.Utilities.Extensions.JsonCopy``1
modifiers.csharp:
- public
- enum
modifiers.vb:
- Public
- Enum
- uid: TinyLife.Objects.Person.DeathReason.Starvation
commentId: F:TinyLife.Objects.Person.DeathReason.Starvation
id: Starvation
parent: TinyLife.Objects.Person.DeathReason
langs:
- csharp
- vb
name: Starvation
nameWithType: Person.DeathReason.Starvation
fullName: TinyLife.Objects.Person.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: 2698
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.Person.DeathReason
modifiers.csharp:
- public
- const
modifiers.vb:
- Public
- Const
- uid: TinyLife.Objects.Person.DeathReason.InexplicableReasons
commentId: F:TinyLife.Objects.Person.DeathReason.InexplicableReasons
id: InexplicableReasons
parent: TinyLife.Objects.Person.DeathReason
langs:
- csharp
- vb
name: InexplicableReasons
nameWithType: Person.DeathReason.InexplicableReasons
fullName: TinyLife.Objects.Person.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: 2703
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.Person.DeathReason
modifiers.csharp:
- public
- const
modifiers.vb:
- Public
- Const
- uid: TinyLife.Objects.Person.DeathReason.Electrocution
commentId: F:TinyLife.Objects.Person.DeathReason.Electrocution
id: Electrocution
parent: TinyLife.Objects.Person.DeathReason
langs:
- csharp
- vb
name: Electrocution
nameWithType: Person.DeathReason.Electrocution
fullName: TinyLife.Objects.Person.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: 2708
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.Person.DeathReason
modifiers.csharp:
- public
- const
modifiers.vb:
- Public
- Const
- uid: TinyLife.Objects.Person.DeathReason.TooMuchProtein
commentId: F:TinyLife.Objects.Person.DeathReason.TooMuchProtein
id: TooMuchProtein
parent: TinyLife.Objects.Person.DeathReason
langs:
- csharp
- vb
name: TooMuchProtein
nameWithType: Person.DeathReason.TooMuchProtein
fullName: TinyLife.Objects.Person.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: 2712
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.Person.DeathReason
modifiers.csharp:
- public
- const
modifiers.vb:
- Public
- Const
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
- uid: TinyLife.Objects.Person.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<Person.DeathReason>()
nameWithType: Extensions.JsonCopy<Person.DeathReason>()
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.Objects.Person.DeathReason>()
nameWithType.vb: Extensions.JsonCopy(Of Person.DeathReason)()
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Objects.Person.DeathReason)()
name.vb: JsonCopy(Of Person.DeathReason)()
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1
name: JsonCopy<Person.DeathReason>
nameWithType: Extensions.JsonCopy<Person.DeathReason>
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.Objects.Person.DeathReason>
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1
name: JsonCopy(Of Person.DeathReason)
nameWithType: Extensions.JsonCopy(Of Person.DeathReason)
fullName: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Objects.Person.DeathReason)
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy<T>(T)
nameWithType: Extensions.JsonCopy<T>(T)
fullName: TinyLife.Utilities.Extensions.JsonCopy<T>(T)
nameWithType.vb: Extensions.JsonCopy(Of T)(T)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of T)(T)
name.vb: JsonCopy(Of T)(T)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy<T>
nameWithType: Extensions.JsonCopy<T>
fullName: TinyLife.Utilities.Extensions.JsonCopy<T>
- name: (
nameWithType: (
fullName: (
- name: T
nameWithType: T
fullName: T
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy(Of T)
nameWithType: Extensions.JsonCopy(Of T)
fullName: TinyLife.Utilities.Extensions.JsonCopy(Of T)
- name: (
nameWithType: (
fullName: (
- name: T
nameWithType: T
fullName: T
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Utilities.Extensions
commentId: T:TinyLife.Utilities.Extensions
parent: TinyLife.Utilities
name: Extensions
nameWithType: Extensions
fullName: TinyLife.Utilities.Extensions
- uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities
- uid: TinyLife.Actions.StarveAction
commentId: T:TinyLife.Actions.StarveAction
isExternal: true
- uid: TinyLife.Objects.Person.DeathReason
commentId: T:TinyLife.Objects.Person.DeathReason
parent: TinyLife.Objects
name: Person.DeathReason
nameWithType: Person.DeathReason
fullName: TinyLife.Objects.Person.DeathReason
- uid: TinyLife.Actions.RepairAction
commentId: T:TinyLife.Actions.RepairAction
isExternal: true