This commit is contained in:
Ell 2024-06-19 12:57:19 +02:00
parent 7ea1a2a2f6
commit a81f06d532
13 changed files with 670 additions and 190 deletions

View file

@ -1,3 +1,9 @@
# 0.42.4
*June 19, 2024*
Additions
- Added various additional debugging [cheats](https://docs.tinylifegame.com/articles/cheats.html) and debug actions to help players debug common issues
# 0.42.3
*June 17, 2024*

View file

@ -216,7 +216,12 @@
"TinyLife.Actions.ActionType.Daydream": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.DebatePineappleOnPizza": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.DebugAddToHousehold": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.DebugClearActions": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.DebugDeleteHeld": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.DebugDie": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.DebugDumpObjectInfo": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.DebugGoHome": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.DebugResetLocation": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.DebugTeleport": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.DebugToggleBroken": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.DebugToggleDirty": "TinyLife.Actions.ActionType.yml",
@ -610,6 +615,8 @@
"TinyLife.Actions.CompletionType.Failed": "TinyLife.Actions.CompletionType.yml",
"TinyLife.Actions.DebugAction": "TinyLife.Actions.DebugAction.yml",
"TinyLife.Actions.DebugAction.#ctor(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo)": "TinyLife.Actions.DebugAction.yml",
"TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.Action{TinyLife.Actions.Action},TinyLife.Actions.ActionType.CanExecuteDelegate)": "TinyLife.Actions.DebugAction.yml",
"TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.String,System.Func{TinyLife.Actions.ActionInfo,System.Collections.Generic.IEnumerable{System.Object}},TinyLife.Actions.ActionType.CanExecuteDelegate)": "TinyLife.Actions.DebugAction.yml",
"TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.Type,TinyLife.Actions.ActionType.CanExecuteDelegate)": "TinyLife.Actions.DebugAction.yml",
"TinyLife.Actions.DebugAction.IsCompleted": "TinyLife.Actions.DebugAction.yml",
"TinyLife.Actions.DebugAction.OnCompleted(TinyLife.Actions.CompletionType)": "TinyLife.Actions.DebugAction.yml",
@ -3204,8 +3211,8 @@
"TinyLife.RomanceType.Soulmates": "TinyLife.RomanceType.yml",
"TinyLife.RomanceType.Sweethearts": "TinyLife.RomanceType.yml",
"TinyLife.SaveHandler": "TinyLife.SaveHandler.yml",
"TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})": "TinyLife.SaveHandler.yml",
"TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})": "TinyLife.SaveHandler.yml",
"TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)": "TinyLife.SaveHandler.yml",
"TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)": "TinyLife.SaveHandler.yml",
"TinyLife.SaveHandler.GetGameDir": "TinyLife.SaveHandler.yml",
"TinyLife.SaveHandler.GetSaveBackups(System.String)": "TinyLife.SaveHandler.yml",
"TinyLife.SaveHandler.GetSaveDir(System.String)": "TinyLife.SaveHandler.yml",

View file

@ -99,7 +99,12 @@ items:
- TinyLife.Actions.ActionType.Daydream
- TinyLife.Actions.ActionType.DebatePineappleOnPizza
- TinyLife.Actions.ActionType.DebugAddToHousehold
- TinyLife.Actions.ActionType.DebugClearActions
- TinyLife.Actions.ActionType.DebugDeleteHeld
- TinyLife.Actions.ActionType.DebugDie
- TinyLife.Actions.ActionType.DebugDumpObjectInfo
- TinyLife.Actions.ActionType.DebugGoHome
- TinyLife.Actions.ActionType.DebugResetLocation
- TinyLife.Actions.ActionType.DebugTeleport
- TinyLife.Actions.ActionType.DebugToggleBroken
- TinyLife.Actions.ActionType.DebugToggleDirty
@ -793,7 +798,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DebugTeleport
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 11
startLine: 13
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -820,7 +825,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DebugDie
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 12
startLine: 24
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -847,7 +852,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DebugAddToHousehold
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 13
startLine: 29
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -874,7 +879,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DebugToggleBroken
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 14
startLine: 37
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -901,7 +906,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DebugToggleDirty
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 16
startLine: 44
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -910,6 +915,141 @@ items:
return:
type: TinyLife.Actions.ActionType
content.vb: Public Shared ReadOnly DebugToggleDirty As ActionType
- uid: TinyLife.Actions.ActionType.DebugDumpObjectInfo
commentId: F:TinyLife.Actions.ActionType.DebugDumpObjectInfo
id: DebugDumpObjectInfo
parent: TinyLife.Actions.ActionType
langs:
- csharp
- vb
name: DebugDumpObjectInfo
nameWithType: ActionType.DebugDumpObjectInfo
fullName: TinyLife.Actions.ActionType.DebugDumpObjectInfo
type: Field
source:
remote:
path: TinyLife/Actions/ActionType.Internal.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DebugDumpObjectInfo
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 50
assemblies:
- Tiny Life
namespace: TinyLife.Actions
syntax:
content: public static readonly ActionType DebugDumpObjectInfo
return:
type: TinyLife.Actions.ActionType
content.vb: Public Shared ReadOnly DebugDumpObjectInfo As ActionType
- uid: TinyLife.Actions.ActionType.DebugClearActions
commentId: F:TinyLife.Actions.ActionType.DebugClearActions
id: DebugClearActions
parent: TinyLife.Actions.ActionType
langs:
- csharp
- vb
name: DebugClearActions
nameWithType: ActionType.DebugClearActions
fullName: TinyLife.Actions.ActionType.DebugClearActions
type: Field
source:
remote:
path: TinyLife/Actions/ActionType.Internal.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DebugClearActions
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 53
assemblies:
- Tiny Life
namespace: TinyLife.Actions
syntax:
content: public static readonly ActionType DebugClearActions
return:
type: TinyLife.Actions.ActionType
content.vb: Public Shared ReadOnly DebugClearActions As ActionType
- uid: TinyLife.Actions.ActionType.DebugGoHome
commentId: F:TinyLife.Actions.ActionType.DebugGoHome
id: DebugGoHome
parent: TinyLife.Actions.ActionType
langs:
- csharp
- vb
name: DebugGoHome
nameWithType: ActionType.DebugGoHome
fullName: TinyLife.Actions.ActionType.DebugGoHome
type: Field
source:
remote:
path: TinyLife/Actions/ActionType.Internal.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DebugGoHome
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 55
assemblies:
- Tiny Life
namespace: TinyLife.Actions
syntax:
content: public static readonly ActionType DebugGoHome
return:
type: TinyLife.Actions.ActionType
content.vb: Public Shared ReadOnly DebugGoHome As ActionType
- uid: TinyLife.Actions.ActionType.DebugResetLocation
commentId: F:TinyLife.Actions.ActionType.DebugResetLocation
id: DebugResetLocation
parent: TinyLife.Actions.ActionType
langs:
- csharp
- vb
name: DebugResetLocation
nameWithType: ActionType.DebugResetLocation
fullName: TinyLife.Actions.ActionType.DebugResetLocation
type: Field
source:
remote:
path: TinyLife/Actions/ActionType.Internal.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DebugResetLocation
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 57
assemblies:
- Tiny Life
namespace: TinyLife.Actions
syntax:
content: public static readonly ActionType DebugResetLocation
return:
type: TinyLife.Actions.ActionType
content.vb: Public Shared ReadOnly DebugResetLocation As ActionType
- uid: TinyLife.Actions.ActionType.DebugDeleteHeld
commentId: F:TinyLife.Actions.ActionType.DebugDeleteHeld
id: DebugDeleteHeld
parent: TinyLife.Actions.ActionType
langs:
- csharp
- vb
name: DebugDeleteHeld
nameWithType: ActionType.DebugDeleteHeld
fullName: TinyLife.Actions.ActionType.DebugDeleteHeld
type: Field
source:
remote:
path: TinyLife/Actions/ActionType.Internal.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DebugDeleteHeld
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 59
assemblies:
- Tiny Life
namespace: TinyLife.Actions
syntax:
content: public static readonly ActionType DebugDeleteHeld
return:
type: TinyLife.Actions.ActionType
content.vb: Public Shared ReadOnly DebugDeleteHeld As ActionType
- uid: TinyLife.Actions.ActionType.ToggleUpgrade
commentId: F:TinyLife.Actions.ActionType.ToggleUpgrade
id: ToggleUpgrade
@ -928,7 +1068,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ToggleUpgrade
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 20
startLine: 64
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -955,7 +1095,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PassOut
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 26
startLine: 70
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -982,7 +1122,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PeeSelf
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 27
startLine: 71
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1009,7 +1149,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Starve
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 28
startLine: 72
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1036,7 +1176,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BeAwayFromLotEmployment
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 29
startLine: 73
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1063,7 +1203,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VisitLotEmploymentLocation
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 41
startLine: 85
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1090,7 +1230,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DeliverMail
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 42
startLine: 86
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1117,7 +1257,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DeliverNewspaper
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 46
startLine: 90
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1144,7 +1284,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Die
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 50
startLine: 94
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1171,7 +1311,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CollectTrash
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 51
startLine: 95
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1198,7 +1338,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VisitorGoHome
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 55
startLine: 99
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1225,7 +1365,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFoodSomewhereElse
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 63
startLine: 107
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1252,7 +1392,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LotEmploymentIdle
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 64
startLine: 108
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1279,7 +1419,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PrepareOrder
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 67
startLine: 111
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1306,7 +1446,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WaitForOrder
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 68
startLine: 112
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1333,7 +1473,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFoodFromDisplayCase
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 69
startLine: 113
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1360,7 +1500,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AgeUp
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 70
startLine: 114
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1387,7 +1527,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CelebrateBirthday
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 73
startLine: 117
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1414,7 +1554,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WaitForInviteIn
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 74
startLine: 118
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1441,7 +1581,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FillNeedsElsewhere
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 75
startLine: 119
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1468,7 +1608,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HelpWithTraining
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 83
startLine: 127
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1495,7 +1635,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Daydream
path: ../TinyLife/Actions/ActionType.Internal.cs
startLine: 87
startLine: 131
assemblies:
- Tiny Life
namespace: TinyLife.Actions

View file

@ -6,6 +6,8 @@ items:
parent: TinyLife.Actions
children:
- TinyLife.Actions.DebugAction.#ctor(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo)
- TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.Action{TinyLife.Actions.Action},TinyLife.Actions.ActionType.CanExecuteDelegate)
- TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.String,System.Func{TinyLife.Actions.ActionInfo,System.Collections.Generic.IEnumerable{System.Object}},TinyLife.Actions.ActionType.CanExecuteDelegate)
- TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.Type,TinyLife.Actions.ActionType.CanExecuteDelegate)
- TinyLife.Actions.DebugAction.IsCompleted
- TinyLife.Actions.DebugAction.OnCompleted(TinyLife.Actions.CompletionType)
@ -24,18 +26,18 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DebugAction
path: ../TinyLife/Actions/DebugAction.cs
startLine: 12
startLine: 14
assemblies:
- Tiny Life
namespace: TinyLife.Actions
summary: >-
An abstract class that can be used to easily create debug-only actions that are available when <xref href="TinyLife.Debug.ShowDebugActions" data-throw-if-not-resolved="false"></xref> is enabled.
A debug action type should be created using <xref href="TinyLife.Actions.DebugAction.Create(System.String%2cTinyLife.Objects.ObjectCategory%2cSystem.Type%2cTinyLife.Actions.ActionType.CanExecuteDelegate)" data-throw-if-not-resolved="false"></xref>.
A debug action type should be created using <xref href="TinyLife.Actions.DebugAction.Create(System.String%2cTinyLife.Objects.ObjectCategory%2cSystem.Action%7bTinyLife.Actions.Action%7d%2cTinyLife.Actions.ActionType.CanExecuteDelegate)" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: 'public abstract class DebugAction : Action, IGenericDataHolder'
content.vb: Public MustInherit Class DebugAction Inherits Action Implements IGenericDataHolder
content: 'public class DebugAction : Action, IGenericDataHolder'
content.vb: Public Class DebugAction Inherits Action Implements IGenericDataHolder
inheritance:
- System.Object
- MLEM.Data.Json.JsonTypeSafeGenericDataHolder
@ -135,14 +137,14 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Actions/DebugAction.cs
startLine: 15
startLine: 17
assemblies:
- Tiny Life
namespace: TinyLife.Actions
summary: Creates a new action with the given action information.
example: []
syntax:
content: protected DebugAction(ActionType type, ActionInfo info)
content: public DebugAction(ActionType type, ActionInfo info)
parameters:
- id: type
type: TinyLife.Actions.ActionType
@ -150,7 +152,7 @@ items:
- id: info
type: TinyLife.Actions.ActionInfo
description: The information for this action.
content.vb: Protected Sub New(type As ActionType, info As ActionInfo)
content.vb: Public Sub New(type As ActionType, info As ActionInfo)
overload: TinyLife.Actions.DebugAction.#ctor*
nameWithType.vb: DebugAction.New(ActionType, ActionInfo)
fullName.vb: TinyLife.Actions.DebugAction.New(TinyLife.Actions.ActionType, TinyLife.Actions.ActionInfo)
@ -173,15 +175,15 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Run
path: ../TinyLife/Actions/DebugAction.cs
startLine: 20
startLine: 22
assemblies:
- Tiny Life
namespace: TinyLife.Actions
summary: Runs this debug action's behavior.
example: []
syntax:
content: protected abstract void Run()
content.vb: Protected MustOverride Sub Run()
content: protected virtual void Run()
content.vb: Protected Overridable Sub Run()
overload: TinyLife.Actions.DebugAction.Run*
- uid: TinyLife.Actions.DebugAction.IsCompleted
commentId: M:TinyLife.Actions.DebugAction.IsCompleted
@ -201,7 +203,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsCompleted
path: ../TinyLife/Actions/DebugAction.cs
startLine: 23
startLine: 29
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -238,7 +240,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnCompleted
path: ../TinyLife/Actions/DebugAction.cs
startLine: 28
startLine: 34
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -258,6 +260,88 @@ items:
content.vb: Public Overrides Sub OnCompleted(type As CompletionType)
overridden: TinyLife.Actions.Action.OnCompleted(TinyLife.Actions.CompletionType)
overload: TinyLife.Actions.DebugAction.OnCompleted*
- uid: TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.Action{TinyLife.Actions.Action},TinyLife.Actions.ActionType.CanExecuteDelegate)
commentId: M:TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.Action{TinyLife.Actions.Action},TinyLife.Actions.ActionType.CanExecuteDelegate)
id: Create(System.String,TinyLife.Objects.ObjectCategory,System.Action{TinyLife.Actions.Action},TinyLife.Actions.ActionType.CanExecuteDelegate)
parent: TinyLife.Actions.DebugAction
langs:
- csharp
- vb
name: Create(string, ObjectCategory, Action<Action>, CanExecuteDelegate)
nameWithType: DebugAction.Create(string, ObjectCategory, Action<Action>, ActionType.CanExecuteDelegate)
fullName: TinyLife.Actions.DebugAction.Create(string, TinyLife.Objects.ObjectCategory, System.Action<TinyLife.Actions.Action>, TinyLife.Actions.ActionType.CanExecuteDelegate)
type: Method
source:
remote:
path: TinyLife/Actions/DebugAction.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Create
path: ../TinyLife/Actions/DebugAction.cs
startLine: 40
assemblies:
- Tiny Life
namespace: TinyLife.Actions
syntax:
content: public static ActionType.TypeSettings Create(string name, ObjectCategory context, Action<Action> run, ActionType.CanExecuteDelegate canExecute = null)
parameters:
- id: name
type: System.String
- id: context
type: TinyLife.Objects.ObjectCategory
- id: run
type: System.Action{TinyLife.Actions.Action}
- id: canExecute
type: TinyLife.Actions.ActionType.CanExecuteDelegate
return:
type: TinyLife.Actions.ActionType.TypeSettings
content.vb: Public Shared Function Create(name As String, context As ObjectCategory, run As Action(Of Action), canExecute As ActionType.CanExecuteDelegate = Nothing) As ActionType.TypeSettings
overload: TinyLife.Actions.DebugAction.Create*
nameWithType.vb: DebugAction.Create(String, ObjectCategory, Action(Of Action), ActionType.CanExecuteDelegate)
fullName.vb: TinyLife.Actions.DebugAction.Create(String, TinyLife.Objects.ObjectCategory, System.Action(Of TinyLife.Actions.Action), TinyLife.Actions.ActionType.CanExecuteDelegate)
name.vb: Create(String, ObjectCategory, Action(Of Action), CanExecuteDelegate)
- uid: TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.String,System.Func{TinyLife.Actions.ActionInfo,System.Collections.Generic.IEnumerable{System.Object}},TinyLife.Actions.ActionType.CanExecuteDelegate)
commentId: M:TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.String,System.Func{TinyLife.Actions.ActionInfo,System.Collections.Generic.IEnumerable{System.Object}},TinyLife.Actions.ActionType.CanExecuteDelegate)
id: Create(System.String,TinyLife.Objects.ObjectCategory,System.String,System.Func{TinyLife.Actions.ActionInfo,System.Collections.Generic.IEnumerable{System.Object}},TinyLife.Actions.ActionType.CanExecuteDelegate)
parent: TinyLife.Actions.DebugAction
langs:
- csharp
- vb
name: Create(string, ObjectCategory, string, Func<ActionInfo, IEnumerable<object>>, CanExecuteDelegate)
nameWithType: DebugAction.Create(string, ObjectCategory, string, Func<ActionInfo, IEnumerable<object>>, ActionType.CanExecuteDelegate)
fullName: TinyLife.Actions.DebugAction.Create(string, TinyLife.Objects.ObjectCategory, string, System.Func<TinyLife.Actions.ActionInfo, System.Collections.Generic.IEnumerable<object>>, TinyLife.Actions.ActionType.CanExecuteDelegate)
type: Method
source:
remote:
path: TinyLife/Actions/DebugAction.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Create
path: ../TinyLife/Actions/DebugAction.cs
startLine: 46
assemblies:
- Tiny Life
namespace: TinyLife.Actions
syntax:
content: public static ActionType.TypeSettings Create(string name, ObjectCategory context, string cheat, Func<ActionInfo, IEnumerable<object>> args = null, ActionType.CanExecuteDelegate canExecute = null)
parameters:
- id: name
type: System.String
- id: context
type: TinyLife.Objects.ObjectCategory
- id: cheat
type: System.String
- id: args
type: System.Func{TinyLife.Actions.ActionInfo,System.Collections.Generic.IEnumerable{System.Object}}
- id: canExecute
type: TinyLife.Actions.ActionType.CanExecuteDelegate
return:
type: TinyLife.Actions.ActionType.TypeSettings
content.vb: Public Shared Function Create(name As String, context As ObjectCategory, cheat As String, args As Func(Of ActionInfo, IEnumerable(Of Object)) = Nothing, canExecute As ActionType.CanExecuteDelegate = Nothing) As ActionType.TypeSettings
overload: TinyLife.Actions.DebugAction.Create*
nameWithType.vb: DebugAction.Create(String, ObjectCategory, String, Func(Of ActionInfo, IEnumerable(Of Object)), ActionType.CanExecuteDelegate)
fullName.vb: TinyLife.Actions.DebugAction.Create(String, TinyLife.Objects.ObjectCategory, String, System.Func(Of TinyLife.Actions.ActionInfo, System.Collections.Generic.IEnumerable(Of Object)), TinyLife.Actions.ActionType.CanExecuteDelegate)
name.vb: Create(String, ObjectCategory, String, Func(Of ActionInfo, IEnumerable(Of Object)), CanExecuteDelegate)
- uid: TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.Type,TinyLife.Actions.ActionType.CanExecuteDelegate)
commentId: M:TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.Type,TinyLife.Actions.ActionType.CanExecuteDelegate)
id: Create(System.String,TinyLife.Objects.ObjectCategory,System.Type,TinyLife.Actions.ActionType.CanExecuteDelegate)
@ -276,7 +360,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Create
path: ../TinyLife/Actions/DebugAction.cs
startLine: 42
startLine: 63
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -312,20 +396,20 @@ references:
name: ShowDebugActions
nameWithType: Debug.ShowDebugActions
fullName: TinyLife.Debug.ShowDebugActions
- uid: TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.Type,TinyLife.Actions.ActionType.CanExecuteDelegate)
commentId: M:TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.Type,TinyLife.Actions.ActionType.CanExecuteDelegate)
- uid: TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.Action{TinyLife.Actions.Action},TinyLife.Actions.ActionType.CanExecuteDelegate)
commentId: M:TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.Action{TinyLife.Actions.Action},TinyLife.Actions.ActionType.CanExecuteDelegate)
isExternal: true
href: TinyLife.Actions.DebugAction.html#TinyLife_Actions_DebugAction_Create_System_String_TinyLife_Objects_ObjectCategory_System_Type_TinyLife_Actions_ActionType_CanExecuteDelegate_
name: Create(string, ObjectCategory, Type, CanExecuteDelegate)
nameWithType: DebugAction.Create(string, ObjectCategory, Type, ActionType.CanExecuteDelegate)
fullName: TinyLife.Actions.DebugAction.Create(string, TinyLife.Objects.ObjectCategory, System.Type, TinyLife.Actions.ActionType.CanExecuteDelegate)
nameWithType.vb: DebugAction.Create(String, ObjectCategory, Type, ActionType.CanExecuteDelegate)
fullName.vb: TinyLife.Actions.DebugAction.Create(String, TinyLife.Objects.ObjectCategory, System.Type, TinyLife.Actions.ActionType.CanExecuteDelegate)
name.vb: Create(String, ObjectCategory, Type, CanExecuteDelegate)
href: TinyLife.Actions.DebugAction.html#TinyLife_Actions_DebugAction_Create_System_String_TinyLife_Objects_ObjectCategory_System_Action_TinyLife_Actions_Action__TinyLife_Actions_ActionType_CanExecuteDelegate_
name: Create(string, ObjectCategory, Action<Action>, CanExecuteDelegate)
nameWithType: DebugAction.Create(string, ObjectCategory, Action<Action>, ActionType.CanExecuteDelegate)
fullName: TinyLife.Actions.DebugAction.Create(string, TinyLife.Objects.ObjectCategory, System.Action<TinyLife.Actions.Action>, TinyLife.Actions.ActionType.CanExecuteDelegate)
nameWithType.vb: DebugAction.Create(String, ObjectCategory, Action(Of Action), ActionType.CanExecuteDelegate)
fullName.vb: TinyLife.Actions.DebugAction.Create(String, TinyLife.Objects.ObjectCategory, System.Action(Of TinyLife.Actions.Action), TinyLife.Actions.ActionType.CanExecuteDelegate)
name.vb: Create(String, ObjectCategory, Action(Of Action), CanExecuteDelegate)
spec.csharp:
- uid: TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.Type,TinyLife.Actions.ActionType.CanExecuteDelegate)
- uid: TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.Action{TinyLife.Actions.Action},TinyLife.Actions.ActionType.CanExecuteDelegate)
name: Create
href: TinyLife.Actions.DebugAction.html#TinyLife_Actions_DebugAction_Create_System_String_TinyLife_Objects_ObjectCategory_System_Type_TinyLife_Actions_ActionType_CanExecuteDelegate_
href: TinyLife.Actions.DebugAction.html#TinyLife_Actions_DebugAction_Create_System_String_TinyLife_Objects_ObjectCategory_System_Action_TinyLife_Actions_Action__TinyLife_Actions_ActionType_CanExecuteDelegate_
- name: (
- uid: System.String
name: string
@ -338,10 +422,15 @@ references:
href: TinyLife.Objects.ObjectCategory.html
- name: ','
- name: " "
- uid: System.Type
name: Type
- uid: System.Action`1
name: Action
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.type
href: https://learn.microsoft.com/dotnet/api/system.action-1
- name: <
- uid: TinyLife.Actions.Action
name: Action
href: TinyLife.Actions.Action.html
- name: '>'
- name: ','
- name: " "
- uid: TinyLife.Actions.ActionType.CanExecuteDelegate
@ -349,9 +438,9 @@ references:
href: TinyLife.Actions.ActionType.CanExecuteDelegate.html
- name: )
spec.vb:
- uid: TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.Type,TinyLife.Actions.ActionType.CanExecuteDelegate)
- uid: TinyLife.Actions.DebugAction.Create(System.String,TinyLife.Objects.ObjectCategory,System.Action{TinyLife.Actions.Action},TinyLife.Actions.ActionType.CanExecuteDelegate)
name: Create
href: TinyLife.Actions.DebugAction.html#TinyLife_Actions_DebugAction_Create_System_String_TinyLife_Objects_ObjectCategory_System_Type_TinyLife_Actions_ActionType_CanExecuteDelegate_
href: TinyLife.Actions.DebugAction.html#TinyLife_Actions_DebugAction_Create_System_String_TinyLife_Objects_ObjectCategory_System_Action_TinyLife_Actions_Action__TinyLife_Actions_ActionType_CanExecuteDelegate_
- name: (
- uid: System.String
name: String
@ -364,10 +453,17 @@ references:
href: TinyLife.Objects.ObjectCategory.html
- name: ','
- name: " "
- uid: System.Type
name: Type
- uid: System.Action`1
name: Action
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.type
href: https://learn.microsoft.com/dotnet/api/system.action-1
- name: (
- name: Of
- name: " "
- uid: TinyLife.Actions.Action
name: Action
href: TinyLife.Actions.Action.html
- name: )
- name: ','
- name: " "
- uid: TinyLife.Actions.ActionType.CanExecuteDelegate
@ -4136,6 +4232,63 @@ references:
- uid: TinyLife.Objects
name: Objects
href: TinyLife.Objects.html
- uid: TinyLife.Actions.DebugAction.Create*
commentId: Overload:TinyLife.Actions.DebugAction.Create
href: TinyLife.Actions.DebugAction.html#TinyLife_Actions_DebugAction_Create_System_String_TinyLife_Objects_ObjectCategory_System_Action_TinyLife_Actions_Action__TinyLife_Actions_ActionType_CanExecuteDelegate_
name: Create
nameWithType: DebugAction.Create
fullName: TinyLife.Actions.DebugAction.Create
- uid: System.String
commentId: T:System.String
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.string
name: string
nameWithType: string
fullName: string
nameWithType.vb: String
fullName.vb: String
name.vb: String
- uid: TinyLife.Objects.ObjectCategory
commentId: T:TinyLife.Objects.ObjectCategory
parent: TinyLife.Objects
href: TinyLife.Objects.ObjectCategory.html
name: ObjectCategory
nameWithType: ObjectCategory
fullName: TinyLife.Objects.ObjectCategory
- uid: System.Action{TinyLife.Actions.Action}
commentId: T:System.Action{TinyLife.Actions.Action}
parent: System
definition: System.Action`1
href: https://learn.microsoft.com/dotnet/api/system.action-1
name: Action<Action>
nameWithType: Action<Action>
fullName: System.Action<TinyLife.Actions.Action>
nameWithType.vb: Action(Of Action)
fullName.vb: System.Action(Of TinyLife.Actions.Action)
name.vb: Action(Of Action)
spec.csharp:
- uid: System.Action`1
name: Action
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.action-1
- name: <
- uid: TinyLife.Actions.Action
name: Action
href: TinyLife.Actions.Action.html
- name: '>'
spec.vb:
- uid: System.Action`1
name: Action
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.action-1
- name: (
- name: Of
- name: " "
- uid: TinyLife.Actions.Action
name: Action
href: TinyLife.Actions.Action.html
- name: )
- uid: TinyLife.Actions.ActionType.CanExecuteDelegate
commentId: T:TinyLife.Actions.ActionType.CanExecuteDelegate
parent: TinyLife.Actions
@ -4159,38 +4312,6 @@ references:
- uid: TinyLife.Actions.ActionType.CanExecuteDelegate
name: CanExecuteDelegate
href: TinyLife.Actions.ActionType.CanExecuteDelegate.html
- uid: TinyLife.Actions.DebugAction.Create*
commentId: Overload:TinyLife.Actions.DebugAction.Create
href: TinyLife.Actions.DebugAction.html#TinyLife_Actions_DebugAction_Create_System_String_TinyLife_Objects_ObjectCategory_System_Type_TinyLife_Actions_ActionType_CanExecuteDelegate_
name: Create
nameWithType: DebugAction.Create
fullName: TinyLife.Actions.DebugAction.Create
- uid: System.String
commentId: T:System.String
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.string
name: string
nameWithType: string
fullName: string
nameWithType.vb: String
fullName.vb: String
name.vb: String
- uid: TinyLife.Objects.ObjectCategory
commentId: T:TinyLife.Objects.ObjectCategory
parent: TinyLife.Objects
href: TinyLife.Objects.ObjectCategory.html
name: ObjectCategory
nameWithType: ObjectCategory
fullName: TinyLife.Objects.ObjectCategory
- uid: System.Type
commentId: T:System.Type
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.type
name: Type
nameWithType: Type
fullName: System.Type
- uid: TinyLife.Actions.ActionType.TypeSettings
commentId: T:TinyLife.Actions.ActionType.TypeSettings
parent: TinyLife.Actions
@ -4214,3 +4335,132 @@ references:
- uid: TinyLife.Actions.ActionType.TypeSettings
name: TypeSettings
href: TinyLife.Actions.ActionType.TypeSettings.html
- uid: System.Action`1
commentId: T:System.Action`1
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.action-1
name: Action<T>
nameWithType: Action<T>
fullName: System.Action<T>
nameWithType.vb: Action(Of T)
fullName.vb: System.Action(Of T)
name.vb: Action(Of T)
spec.csharp:
- uid: System.Action`1
name: Action
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.action-1
- name: <
- name: T
- name: '>'
spec.vb:
- uid: System.Action`1
name: Action
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.action-1
- name: (
- name: Of
- name: " "
- name: T
- name: )
- uid: System.Func{TinyLife.Actions.ActionInfo,System.Collections.Generic.IEnumerable{System.Object}}
commentId: T:System.Func{TinyLife.Actions.ActionInfo,System.Collections.Generic.IEnumerable{System.Object}}
parent: System
definition: System.Func`2
href: https://learn.microsoft.com/dotnet/api/system.func-2
name: Func<ActionInfo, IEnumerable<object>>
nameWithType: Func<ActionInfo, IEnumerable<object>>
fullName: System.Func<TinyLife.Actions.ActionInfo, System.Collections.Generic.IEnumerable<object>>
nameWithType.vb: Func(Of ActionInfo, IEnumerable(Of Object))
fullName.vb: System.Func(Of TinyLife.Actions.ActionInfo, System.Collections.Generic.IEnumerable(Of Object))
name.vb: Func(Of ActionInfo, IEnumerable(Of Object))
spec.csharp:
- uid: System.Func`2
name: Func
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.func-2
- name: <
- uid: TinyLife.Actions.ActionInfo
name: ActionInfo
href: TinyLife.Actions.ActionInfo.html
- name: ','
- name: " "
- uid: System.Collections.Generic.IEnumerable`1
name: IEnumerable
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1
- name: <
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: '>'
- name: '>'
spec.vb:
- uid: System.Func`2
name: Func
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.func-2
- name: (
- name: Of
- name: " "
- uid: TinyLife.Actions.ActionInfo
name: ActionInfo
href: TinyLife.Actions.ActionInfo.html
- name: ','
- name: " "
- uid: System.Collections.Generic.IEnumerable`1
name: IEnumerable
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1
- name: (
- name: Of
- name: " "
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- name: )
- uid: System.Func`2
commentId: T:System.Func`2
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.func-2
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
href: https://learn.microsoft.com/dotnet/api/system.func-2
- name: <
- name: T
- name: ','
- name: " "
- name: TResult
- name: '>'
spec.vb:
- uid: System.Func`2
name: Func
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.func-2
- name: (
- name: Of
- name: " "
- name: T
- name: ','
- name: " "
- name: TResult
- name: )
- uid: System.Type
commentId: T:System.Type
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.type
name: Type
nameWithType: Type
fullName: System.Type

View file

@ -19,7 +19,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CheatDelegate
path: ../TinyLife/Debug.cs
startLine: 859
startLine: 901
assemblies:
- Tiny Life
namespace: TinyLife

View file

@ -19,7 +19,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DebugDelegate
path: ../TinyLife/Debug.cs
startLine: 864
startLine: 906
assemblies:
- Tiny Life
namespace: TinyLife

View file

@ -22,7 +22,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Debug
path: ../TinyLife/Debug.cs
startLine: 38
startLine: 40
assemblies:
- Tiny Life
namespace: TinyLife
@ -61,7 +61,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Cheats
path: ../TinyLife/Debug.cs
startLine: 45
startLine: 47
assemblies:
- Tiny Life
namespace: TinyLife
@ -95,7 +95,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DebugLines
path: ../TinyLife/Debug.cs
startLine: 51
startLine: 53
assemblies:
- Tiny Life
namespace: TinyLife
@ -129,7 +129,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TryCheat
path: ../TinyLife/Debug.cs
startLine: 653
startLine: 695
assemblies:
- Tiny Life
namespace: TinyLife

View file

@ -389,7 +389,7 @@ items:
To save custom options, you can create a custom class, each of whose members will be saved by this method.
This method uses a <xref href="TinyLife.SaveHandler.CreateSerializer(System.EventHandler%7bNewtonsoft.Json.Serialization.ErrorEventArgs%7d)" data-throw-if-not-resolved="false"></xref> JSON serializer, so using <xref href="System.Runtime.Serialization.DataContractAttribute" data-throw-if-not-resolved="false"></xref> and <xref href="System.Runtime.Serialization.DataMemberAttribute" data-throw-if-not-resolved="false"></xref> attributes is supported.
This method uses a <xref href="TinyLife.SaveHandler.CreateSerializer(System.EventHandler%7bNewtonsoft.Json.Serialization.ErrorEventArgs%7d%2cSystem.Boolean)" data-throw-if-not-resolved="false"></xref> JSON serializer, so using <xref href="System.Runtime.Serialization.DataContractAttribute" data-throw-if-not-resolved="false"></xref> and <xref href="System.Runtime.Serialization.DataMemberAttribute" data-throw-if-not-resolved="false"></xref> attributes is supported.
example: []
syntax:
content: public void SaveOptions<T>(T options)
@ -432,7 +432,7 @@ items:
To load custom options, you can create a custom class, each of whose members will be loaded by this method.
This method uses a <xref href="TinyLife.SaveHandler.CreateSerializer(System.EventHandler%7bNewtonsoft.Json.Serialization.ErrorEventArgs%7d)" data-throw-if-not-resolved="false"></xref> JSON serializer, so using <xref href="System.Runtime.Serialization.DataContractAttribute" data-throw-if-not-resolved="false"></xref> and <xref href="System.Runtime.Serialization.DataMemberAttribute" data-throw-if-not-resolved="false"></xref> attributes is supported.
This method uses a <xref href="TinyLife.SaveHandler.CreateSerializer(System.EventHandler%7bNewtonsoft.Json.Serialization.ErrorEventArgs%7d%2cSystem.Boolean)" data-throw-if-not-resolved="false"></xref> JSON serializer, so using <xref href="System.Runtime.Serialization.DataContractAttribute" data-throw-if-not-resolved="false"></xref> and <xref href="System.Runtime.Serialization.DataMemberAttribute" data-throw-if-not-resolved="false"></xref> attributes is supported.
example: []
syntax:
content: public T LoadOptions<T>(Func<T> createDefaultInstance)
@ -1129,20 +1129,20 @@ references:
name: OptionsFile
nameWithType: ModInfo.OptionsFile
fullName: TinyLife.Mods.ModInfo.OptionsFile
- uid: TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
commentId: M:TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
- uid: TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
commentId: M:TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
isExternal: true
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializer_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__
name: CreateSerializer(EventHandler<ErrorEventArgs>)
nameWithType: SaveHandler.CreateSerializer(EventHandler<ErrorEventArgs>)
fullName: TinyLife.SaveHandler.CreateSerializer(System.EventHandler<Newtonsoft.Json.Serialization.ErrorEventArgs>)
nameWithType.vb: SaveHandler.CreateSerializer(EventHandler(Of ErrorEventArgs))
fullName.vb: TinyLife.SaveHandler.CreateSerializer(System.EventHandler(Of Newtonsoft.Json.Serialization.ErrorEventArgs))
name.vb: CreateSerializer(EventHandler(Of ErrorEventArgs))
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializer_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__System_Boolean_
name: CreateSerializer(EventHandler<ErrorEventArgs>, bool)
nameWithType: SaveHandler.CreateSerializer(EventHandler<ErrorEventArgs>, bool)
fullName: TinyLife.SaveHandler.CreateSerializer(System.EventHandler<Newtonsoft.Json.Serialization.ErrorEventArgs>, bool)
nameWithType.vb: SaveHandler.CreateSerializer(EventHandler(Of ErrorEventArgs), Boolean)
fullName.vb: TinyLife.SaveHandler.CreateSerializer(System.EventHandler(Of Newtonsoft.Json.Serialization.ErrorEventArgs), Boolean)
name.vb: CreateSerializer(EventHandler(Of ErrorEventArgs), Boolean)
spec.csharp:
- uid: TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
- uid: TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
name: CreateSerializer
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializer_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializer_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__System_Boolean_
- name: (
- uid: System.EventHandler`1
name: EventHandler
@ -1153,11 +1153,17 @@ references:
name: ErrorEventArgs
isExternal: true
- name: '>'
- name: ','
- name: " "
- uid: System.Boolean
name: bool
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: )
spec.vb:
- uid: TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
- uid: TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
name: CreateSerializer
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializer_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializer_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__System_Boolean_
- name: (
- uid: System.EventHandler`1
name: EventHandler
@ -1170,6 +1176,12 @@ references:
name: ErrorEventArgs
isExternal: true
- name: )
- name: ','
- name: " "
- uid: System.Boolean
name: Boolean
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: )
- uid: System.Runtime.Serialization.DataContractAttribute
commentId: T:System.Runtime.Serialization.DataContractAttribute

View file

@ -23,7 +23,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SaveData
path: ../TinyLife/SaveHandler.cs
startLine: 363
startLine: 364
assemblies:
- Tiny Life
namespace: TinyLife
@ -72,7 +72,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Maps
path: ../TinyLife/SaveHandler.cs
startLine: 368
startLine: 369
assemblies:
- Tiny Life
namespace: TinyLife
@ -103,7 +103,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Time
path: ../TinyLife/SaveHandler.cs
startLine: 372
startLine: 373
assemblies:
- Tiny Life
namespace: TinyLife
@ -134,7 +134,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Achievements
path: ../TinyLife/SaveHandler.cs
startLine: 377
startLine: 378
assemblies:
- Tiny Life
namespace: TinyLife
@ -165,7 +165,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Map
path: ../TinyLife/SaveHandler.cs
startLine: 383
startLine: 384
assemblies:
- Tiny Life
namespace: TinyLife

View file

@ -5,8 +5,8 @@ items:
id: SaveHandler
parent: TinyLife
children:
- TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
- TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
- TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
- TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
- TinyLife.SaveHandler.GetGameDir
- TinyLife.SaveHandler.GetSaveBackups(System.String)
- TinyLife.SaveHandler.GetSaveDir(System.String)
@ -188,7 +188,7 @@ items:
- Tiny Life
namespace: TinyLife
summary: >-
An event that is raised when a <xref href="Newtonsoft.Json.JsonSerializer" data-throw-if-not-resolved="false"></xref> or <xref href="Newtonsoft.Json.JsonSerializerSettings" data-throw-if-not-resolved="false"></xref> created in <xref href="TinyLife.SaveHandler.CreateSerializer(System.EventHandler%7bNewtonsoft.Json.Serialization.ErrorEventArgs%7d)" data-throw-if-not-resolved="false"></xref> or <xref href="TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler%7bNewtonsoft.Json.Serialization.ErrorEventArgs%7d)" data-throw-if-not-resolved="false"></xref> is used for serialization or deserialization, and an error occurs.
An event that is raised when a <xref href="Newtonsoft.Json.JsonSerializer" data-throw-if-not-resolved="false"></xref> or <xref href="Newtonsoft.Json.JsonSerializerSettings" data-throw-if-not-resolved="false"></xref> created in <xref href="TinyLife.SaveHandler.CreateSerializer(System.EventHandler%7bNewtonsoft.Json.Serialization.ErrorEventArgs%7d%2cSystem.Boolean)" data-throw-if-not-resolved="false"></xref> or <xref href="TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler%7bNewtonsoft.Json.Serialization.ErrorEventArgs%7d%2cSystem.Boolean)" data-throw-if-not-resolved="false"></xref> is used for serialization or deserialization, and an error occurs.
This event is a subscription to <xref href="Newtonsoft.Json.JsonSerializerSettings.Error" data-throw-if-not-resolved="false"></xref>.
example: []
@ -344,16 +344,16 @@ items:
nameWithType.vb: SaveHandler.GetSaveBackups(String)
fullName.vb: TinyLife.SaveHandler.GetSaveBackups(String)
name.vb: GetSaveBackups(String)
- uid: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
commentId: M:TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
id: CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
- uid: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
commentId: M:TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
id: CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
parent: TinyLife.SaveHandler
langs:
- csharp
- vb
name: CreateSerializerSettings(EventHandler<ErrorEventArgs>)
nameWithType: SaveHandler.CreateSerializerSettings(EventHandler<ErrorEventArgs>)
fullName: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler<Newtonsoft.Json.Serialization.ErrorEventArgs>)
name: CreateSerializerSettings(EventHandler<ErrorEventArgs>, bool)
nameWithType: SaveHandler.CreateSerializerSettings(EventHandler<ErrorEventArgs>, bool)
fullName: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler<Newtonsoft.Json.Serialization.ErrorEventArgs>, bool)
type: Method
source:
remote:
@ -372,29 +372,31 @@ items:
Additionally, an <code class="paramref">errorHandler</code> can optionally be attached to determine what should happen when a serialization error occurs.
example: []
syntax:
content: public static JsonSerializerSettings CreateSerializerSettings(EventHandler<ErrorEventArgs> errorHandler)
content: public static JsonSerializerSettings CreateSerializerSettings(EventHandler<ErrorEventArgs> errorHandler = null, bool prettyPrint = false)
parameters:
- id: errorHandler
type: System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs}
description: An optional error handler.
- id: prettyPrint
type: System.Boolean
return:
type: Newtonsoft.Json.JsonSerializerSettings
description: A new instance of <xref href="Newtonsoft.Json.JsonSerializerSettings" data-throw-if-not-resolved="false"></xref> with some default values set.
content.vb: Public Shared Function CreateSerializerSettings(errorHandler As EventHandler(Of ErrorEventArgs)) As JsonSerializerSettings
content.vb: Public Shared Function CreateSerializerSettings(errorHandler As EventHandler(Of ErrorEventArgs) = Nothing, prettyPrint As Boolean = False) As JsonSerializerSettings
overload: TinyLife.SaveHandler.CreateSerializerSettings*
nameWithType.vb: SaveHandler.CreateSerializerSettings(EventHandler(Of ErrorEventArgs))
fullName.vb: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler(Of Newtonsoft.Json.Serialization.ErrorEventArgs))
name.vb: CreateSerializerSettings(EventHandler(Of ErrorEventArgs))
- uid: TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
commentId: M:TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
id: CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
nameWithType.vb: SaveHandler.CreateSerializerSettings(EventHandler(Of ErrorEventArgs), Boolean)
fullName.vb: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler(Of Newtonsoft.Json.Serialization.ErrorEventArgs), Boolean)
name.vb: CreateSerializerSettings(EventHandler(Of ErrorEventArgs), Boolean)
- uid: TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
commentId: M:TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
id: CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
parent: TinyLife.SaveHandler
langs:
- csharp
- vb
name: CreateSerializer(EventHandler<ErrorEventArgs>)
nameWithType: SaveHandler.CreateSerializer(EventHandler<ErrorEventArgs>)
fullName: TinyLife.SaveHandler.CreateSerializer(System.EventHandler<Newtonsoft.Json.Serialization.ErrorEventArgs>)
name: CreateSerializer(EventHandler<ErrorEventArgs>, bool)
nameWithType: SaveHandler.CreateSerializer(EventHandler<ErrorEventArgs>, bool)
fullName: TinyLife.SaveHandler.CreateSerializer(System.EventHandler<Newtonsoft.Json.Serialization.ErrorEventArgs>, bool)
type: Method
source:
remote:
@ -403,26 +405,28 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CreateSerializer
path: ../TinyLife/SaveHandler.cs
startLine: 118
startLine: 119
assemblies:
- Tiny Life
namespace: TinyLife
summary: Creates a new <xref href="Newtonsoft.Json.JsonSerializer" data-throw-if-not-resolved="false"></xref> that uses the <xref href="Newtonsoft.Json.JsonSerializerSettings" data-throw-if-not-resolved="false"></xref> returned in <xref href="TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler%7bNewtonsoft.Json.Serialization.ErrorEventArgs%7d)" data-throw-if-not-resolved="false"></xref>.
summary: Creates a new <xref href="Newtonsoft.Json.JsonSerializer" data-throw-if-not-resolved="false"></xref> that uses the <xref href="Newtonsoft.Json.JsonSerializerSettings" data-throw-if-not-resolved="false"></xref> returned in <xref href="TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler%7bNewtonsoft.Json.Serialization.ErrorEventArgs%7d%2cSystem.Boolean)" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: public static JsonSerializer CreateSerializer(EventHandler<ErrorEventArgs> errorHandler = null)
content: public static JsonSerializer CreateSerializer(EventHandler<ErrorEventArgs> errorHandler = null, bool prettyPrint = false)
parameters:
- id: errorHandler
type: System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs}
description: An optional error handler.
- id: prettyPrint
type: System.Boolean
return:
type: Newtonsoft.Json.JsonSerializer
description: A new <xref href="Newtonsoft.Json.JsonSerializer" data-throw-if-not-resolved="false"></xref> with some default values set.
content.vb: Public Shared Function CreateSerializer(errorHandler As EventHandler(Of ErrorEventArgs) = Nothing) As JsonSerializer
content.vb: Public Shared Function CreateSerializer(errorHandler As EventHandler(Of ErrorEventArgs) = Nothing, prettyPrint As Boolean = False) As JsonSerializer
overload: TinyLife.SaveHandler.CreateSerializer*
nameWithType.vb: SaveHandler.CreateSerializer(EventHandler(Of ErrorEventArgs))
fullName.vb: TinyLife.SaveHandler.CreateSerializer(System.EventHandler(Of Newtonsoft.Json.Serialization.ErrorEventArgs))
name.vb: CreateSerializer(EventHandler(Of ErrorEventArgs))
nameWithType.vb: SaveHandler.CreateSerializer(EventHandler(Of ErrorEventArgs), Boolean)
fullName.vb: TinyLife.SaveHandler.CreateSerializer(System.EventHandler(Of Newtonsoft.Json.Serialization.ErrorEventArgs), Boolean)
name.vb: CreateSerializer(EventHandler(Of ErrorEventArgs), Boolean)
references:
- uid: TinyLife
commentId: N:TinyLife
@ -831,20 +835,20 @@ references:
name: JsonSerializerSettings
nameWithType: JsonSerializerSettings
fullName: Newtonsoft.Json.JsonSerializerSettings
- uid: TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
commentId: M:TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
- uid: TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
commentId: M:TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
isExternal: true
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializer_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__
name: CreateSerializer(EventHandler<ErrorEventArgs>)
nameWithType: SaveHandler.CreateSerializer(EventHandler<ErrorEventArgs>)
fullName: TinyLife.SaveHandler.CreateSerializer(System.EventHandler<Newtonsoft.Json.Serialization.ErrorEventArgs>)
nameWithType.vb: SaveHandler.CreateSerializer(EventHandler(Of ErrorEventArgs))
fullName.vb: TinyLife.SaveHandler.CreateSerializer(System.EventHandler(Of Newtonsoft.Json.Serialization.ErrorEventArgs))
name.vb: CreateSerializer(EventHandler(Of ErrorEventArgs))
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializer_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__System_Boolean_
name: CreateSerializer(EventHandler<ErrorEventArgs>, bool)
nameWithType: SaveHandler.CreateSerializer(EventHandler<ErrorEventArgs>, bool)
fullName: TinyLife.SaveHandler.CreateSerializer(System.EventHandler<Newtonsoft.Json.Serialization.ErrorEventArgs>, bool)
nameWithType.vb: SaveHandler.CreateSerializer(EventHandler(Of ErrorEventArgs), Boolean)
fullName.vb: TinyLife.SaveHandler.CreateSerializer(System.EventHandler(Of Newtonsoft.Json.Serialization.ErrorEventArgs), Boolean)
name.vb: CreateSerializer(EventHandler(Of ErrorEventArgs), Boolean)
spec.csharp:
- uid: TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
- uid: TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
name: CreateSerializer
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializer_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializer_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__System_Boolean_
- name: (
- uid: System.EventHandler`1
name: EventHandler
@ -855,11 +859,17 @@ references:
name: ErrorEventArgs
isExternal: true
- name: '>'
- name: ','
- name: " "
- uid: System.Boolean
name: bool
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: )
spec.vb:
- uid: TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
- uid: TinyLife.SaveHandler.CreateSerializer(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
name: CreateSerializer
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializer_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializer_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__System_Boolean_
- name: (
- uid: System.EventHandler`1
name: EventHandler
@ -872,21 +882,27 @@ references:
name: ErrorEventArgs
isExternal: true
- name: )
- name: )
- uid: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
commentId: M:TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
- name: ','
- name: " "
- uid: System.Boolean
name: Boolean
isExternal: true
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializerSettings_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__
name: CreateSerializerSettings(EventHandler<ErrorEventArgs>)
nameWithType: SaveHandler.CreateSerializerSettings(EventHandler<ErrorEventArgs>)
fullName: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler<Newtonsoft.Json.Serialization.ErrorEventArgs>)
nameWithType.vb: SaveHandler.CreateSerializerSettings(EventHandler(Of ErrorEventArgs))
fullName.vb: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler(Of Newtonsoft.Json.Serialization.ErrorEventArgs))
name.vb: CreateSerializerSettings(EventHandler(Of ErrorEventArgs))
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: )
- uid: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
commentId: M:TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
isExternal: true
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializerSettings_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__System_Boolean_
name: CreateSerializerSettings(EventHandler<ErrorEventArgs>, bool)
nameWithType: SaveHandler.CreateSerializerSettings(EventHandler<ErrorEventArgs>, bool)
fullName: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler<Newtonsoft.Json.Serialization.ErrorEventArgs>, bool)
nameWithType.vb: SaveHandler.CreateSerializerSettings(EventHandler(Of ErrorEventArgs), Boolean)
fullName.vb: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler(Of Newtonsoft.Json.Serialization.ErrorEventArgs), Boolean)
name.vb: CreateSerializerSettings(EventHandler(Of ErrorEventArgs), Boolean)
spec.csharp:
- uid: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
- uid: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
name: CreateSerializerSettings
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializerSettings_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializerSettings_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__System_Boolean_
- name: (
- uid: System.EventHandler`1
name: EventHandler
@ -897,11 +913,17 @@ references:
name: ErrorEventArgs
isExternal: true
- name: '>'
- name: ','
- name: " "
- uid: System.Boolean
name: bool
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: )
spec.vb:
- uid: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
- uid: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
name: CreateSerializerSettings
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializerSettings_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializerSettings_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__System_Boolean_
- name: (
- uid: System.EventHandler`1
name: EventHandler
@ -914,6 +936,12 @@ references:
name: ErrorEventArgs
isExternal: true
- name: )
- name: ','
- name: " "
- uid: System.Boolean
name: Boolean
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: )
- uid: Newtonsoft.Json.JsonSerializerSettings.Error
commentId: P:Newtonsoft.Json.JsonSerializerSettings.Error
@ -1240,7 +1268,7 @@ references:
fullName: TinyLife.Objects.MapObject
- uid: TinyLife.SaveHandler.CreateSerializerSettings*
commentId: Overload:TinyLife.SaveHandler.CreateSerializerSettings
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializerSettings_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializerSettings_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__System_Boolean_
name: CreateSerializerSettings
nameWithType: SaveHandler.CreateSerializerSettings
fullName: TinyLife.SaveHandler.CreateSerializerSettings
@ -1277,6 +1305,17 @@ references:
name: ErrorEventArgs
isExternal: true
- name: )
- 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.World
commentId: N:TinyLife.World
href: TinyLife.html
@ -1323,7 +1362,7 @@ references:
href: TinyLife.Objects.html
- uid: TinyLife.SaveHandler.CreateSerializer*
commentId: Overload:TinyLife.SaveHandler.CreateSerializer
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializer_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializer_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__System_Boolean_
name: CreateSerializer
nameWithType: SaveHandler.CreateSerializer
fullName: TinyLife.SaveHandler.CreateSerializer

View file

@ -369,7 +369,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: Copies the given object using a <xref href="Newtonsoft.Json.JsonSerializer" data-throw-if-not-resolved="false"></xref> created using <xref href="TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler%7bNewtonsoft.Json.Serialization.ErrorEventArgs%7d)" data-throw-if-not-resolved="false"></xref>.
summary: Copies the given object using a <xref href="Newtonsoft.Json.JsonSerializer" data-throw-if-not-resolved="false"></xref> created using <xref href="TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler%7bNewtonsoft.Json.Serialization.ErrorEventArgs%7d%2cSystem.Boolean)" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: public static T JsonCopy<T>(this T obj)
@ -2941,20 +2941,20 @@ references:
name: JsonSerializer
nameWithType: JsonSerializer
fullName: Newtonsoft.Json.JsonSerializer
- uid: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
commentId: M:TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
- uid: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
commentId: M:TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
isExternal: true
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializerSettings_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__
name: CreateSerializerSettings(EventHandler<ErrorEventArgs>)
nameWithType: SaveHandler.CreateSerializerSettings(EventHandler<ErrorEventArgs>)
fullName: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler<Newtonsoft.Json.Serialization.ErrorEventArgs>)
nameWithType.vb: SaveHandler.CreateSerializerSettings(EventHandler(Of ErrorEventArgs))
fullName.vb: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler(Of Newtonsoft.Json.Serialization.ErrorEventArgs))
name.vb: CreateSerializerSettings(EventHandler(Of ErrorEventArgs))
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializerSettings_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__System_Boolean_
name: CreateSerializerSettings(EventHandler<ErrorEventArgs>, bool)
nameWithType: SaveHandler.CreateSerializerSettings(EventHandler<ErrorEventArgs>, bool)
fullName: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler<Newtonsoft.Json.Serialization.ErrorEventArgs>, bool)
nameWithType.vb: SaveHandler.CreateSerializerSettings(EventHandler(Of ErrorEventArgs), Boolean)
fullName.vb: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler(Of Newtonsoft.Json.Serialization.ErrorEventArgs), Boolean)
name.vb: CreateSerializerSettings(EventHandler(Of ErrorEventArgs), Boolean)
spec.csharp:
- uid: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
- uid: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
name: CreateSerializerSettings
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializerSettings_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializerSettings_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__System_Boolean_
- name: (
- uid: System.EventHandler`1
name: EventHandler
@ -2965,11 +2965,17 @@ references:
name: ErrorEventArgs
isExternal: true
- name: '>'
- name: ','
- name: " "
- uid: System.Boolean
name: bool
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: )
spec.vb:
- uid: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs})
- uid: TinyLife.SaveHandler.CreateSerializerSettings(System.EventHandler{Newtonsoft.Json.Serialization.ErrorEventArgs},System.Boolean)
name: CreateSerializerSettings
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializerSettings_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__
href: TinyLife.SaveHandler.html#TinyLife_SaveHandler_CreateSerializerSettings_System_EventHandler_Newtonsoft_Json_Serialization_ErrorEventArgs__System_Boolean_
- name: (
- uid: System.EventHandler`1
name: EventHandler
@ -2982,6 +2988,12 @@ references:
name: ErrorEventArgs
isExternal: true
- name: )
- name: ','
- name: " "
- uid: System.Boolean
name: Boolean
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: )
- uid: TinyLife.Utilities.Extensions.JsonCopy*
commentId: Overload:TinyLife.Utilities.Extensions.JsonCopy

View file

@ -2,6 +2,7 @@
You can open up the game's cheat menu by pressing the `F1` key. Here is a list of some of the more useful cheats for mod development and testing. Keep in mind that `[arguments]` need to be replaced with your custom value, and the brackets `[]` need to be omitted.
## In-game cheats
- `ShowDebugActions` will enable a set of debug actions you can always select in-game, including teleporting to a certain location, adding people to your household, and more.
- `ShowNonBuyable` allows you to buy plates, pots and the like.
- `Need [name] [percentage between 0 and 1]` changes the current person's needs.
- `NoNeed` stops need reduction for everyone.
@ -14,7 +15,7 @@ You can open up the game's cheat menu by pressing the `F1` key. Here is a list o
- `Skill [name] [level]` changes the current person's skill level. You can find a list of all skill names [in the API docs](xref:TinyLife.Skills.SkillType).
- `AddJob [name] [level]` adds the given job to the current person at the given level You can find a list of all job names [in the API docs](xref:TinyLife.Goals.JobType).
- `RemoveJob [name]` removes the given job from the current person.
- `Die` kills the current person.
- `Die` kills the current person. This cheat is also available as a debug action (`ShowDebugActions`).
- `Emotion [modifier name] [level] [seconds]` adds an emotion modifier to the current person. You can find a list of all emotion modifiers [in the API docs](xref:TinyLife.Emotions.EmotionModifier).
- `Friendship [name without spaces] [percentage between -1 and 1]` sets the friendship level between the named partner and the current person to the given percentage.
- `Romance [name without spaces] [percentage between -1 and 1]` sets the romance level between the named partner and the current person to the given percentage.
@ -26,10 +27,13 @@ You can open up the game's cheat menu by pressing the `F1` key. Here is a list o
- `LifeGoal Advance` advances the current person's current life goal by one stage.
- `Time [time]` sets the game's current time to the given number of hours. The current day will remain the same.
- `Day [weekday name]` sets the game's current weekday to the given day by advancing time until the day is reached. Weekday names have to start with an uppercase letter.
- `ShowDebugActions` will enable a set of debug actions you can always select in-game, including teleporting to a certain location, adding people to your household, and more.
- `AgeUp` will cause the selected person to age up if possible.
- `RemoveRandos` will remove any randomly generated people from the map and regenerate them.
- `Pregnancy [amount of hours]` will make the selected Tiny pregnant with the given amount of hours before likely going into labor.
- `ClearActions [name without spaces]` will clear the action queue and current actions of the given person. This cheat is also available as a debug action (`ShowDebugActions`).
- `GoHome [name without spaces]` will clear the action queue of the given person and enqueue the appropriate type of "Go Home" action, causing them to make their way home immediately. This cheat is also available as a debug action (`ShowDebugActions`).
- `ResetLocation [name without spaces]` will clear the action queue of the given person and teleport them to their default location. For Tinies who live on a map, this is a location around their home. For lot staff or regular visitors, this is the closest exit road. This cheat is also available as a debug action (`ShowDebugActions`).
- `Find [name without spaces]` causes the camera to focus on the person with the given name.
## Modding and debug cheats
- `EditWorld` allows you to place things outside of lots and adds the ability to add new lots to the world. You can find out more about editing the world in the [custom maps tutorial](custom_maps.md).
@ -40,4 +44,7 @@ You can open up the game's cheat menu by pressing the `F1` key. Here is a list o
- Pressing the page up and page down keys moves the spot's y offset.
- The resulting values are printed to the console every time a modification is made, so you can copy them and paste them into your action spot code.
- `DumpTexture` saves the game's texture packer's entire texture into the Tiny Life folder (which can be accessed through the options menu) as `_Packed.png`.
- `DumpObjectInfo [person name without spaces or object guid]` prints a person's or map object's current state to the log file as JSON. This cheat is also available as a debug action (`ShowDebugActions`).
- There are various cheats that print organized debug information to the console, which can be useful for debugging and balancing mods. These include `TalkActions`, `AverageTalkActions`, `ActionPriorities`, `AverageActionPriorities`, `NeedStats`, `HouseholdStats`, `SkillStats`, and `ActionStats`.
Any boolean cheats can also be enabled on game startup by using the `--cheats` or `-c` argument with a list of cheats separated by spaces. For example, to always have debug actions available, add `-c ShowDebugActions` to the game's launch options.

View file

@ -2,6 +2,13 @@
If you're struggling with solving any of these issues yourself, feel free to ask for help in [the Discord server](https://link.tinylifegame.com/discordweb).
# A Tiny is stuck or stopped taking care of their needs
There's a rare bug going around where Tinies who are regular visitors or from a different household will get stuck and stop taking care of their needs. There are several steps you can take to fix these Tinies:
- First of all, please **dump their data** and share it through [the feedback form](https://tinylifegame.com/bugreport) so we can get this issue fixed. You can dump their data through the `DumpObjectInfo` [cheat](https://docs.tinylifegame.com/articles/cheats.html) or, with the `ShowDebugActions` cheat enabled, by selecting "Dump Info" on them. Instead, you can also share the entire [save file](https://docs.tinylifegame.com/articles/game_dir.html) through the feedback form before fixing them.
- Reset their action queue using the `ClearActions` [cheat](https://docs.tinylifegame.com/articles/cheats.html) or, with the `ShowDebugActions` cheat enabled, by selecting "Clear Actions" on them.
- Force them to go home using the `GoHome` [cheat](https://docs.tinylifegame.com/articles/cheats.html) or, with the `ShowDebugActions` cheat enabled, by selecting "Force Go Home" on them.
- Reset their location entirely using the `ResetLocation` [cheat](https://docs.tinylifegame.com/articles/cheats.html) or, with the `ShowDebugActions` cheat enabled, by selecting "Reset Location" on them.
# My save files aren't synchronized through Steam Cloud
Cloud storage in Tiny Life has to be enabled individually for each save file that you want to back up and synchronize.