TinyLifeWeb/api/TinyLife.Utilities.Extensions.yml

2256 lines
83 KiB
YAML
Raw Normal View History

2021-08-04 06:51:12 +02:00
### YamlMime:ManagedReference
items:
- uid: TinyLife.Utilities.Extensions
commentId: T:TinyLife.Utilities.Extensions
id: Extensions
parent: TinyLife.Utilities
children:
- TinyLife.Utilities.Extensions.AddHoverAnimation(MLEM.Ui.Elements.Button)
- TinyLife.Utilities.Extensions.BothCompleted(TinyLife.Actions.Action.CompletionType,System.Func{TinyLife.Actions.Action.CompletionType})
- TinyLife.Utilities.Extensions.BothValid(TinyLife.Actions.ActionType.CanExecuteResult,System.Func{TinyLife.Actions.ActionType.CanExecuteResult})
- TinyLife.Utilities.Extensions.CloseLater(MLEM.Ui.Elements.Element)
- TinyLife.Utilities.Extensions.DrawIsoArea(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Misc.RectangleF,Microsoft.Xna.Framework.Color,System.Boolean)
- TinyLife.Utilities.Extensions.GetChanceModifier(TinyLife.Skills.Quality)
- TinyLife.Utilities.Extensions.GetDecorativeRating(TinyLife.Skills.Quality)
- TinyLife.Utilities.Extensions.GetDefaultDirtyOverlayTextureName(TinyLife.Objects.ObjectCategory)
- TinyLife.Utilities.Extensions.GetDefaultTab(TinyLife.Objects.ObjectCategory)
- TinyLife.Utilities.Extensions.GetOpposite(TinyLife.GenealogyType)
- TinyLife.Utilities.Extensions.GetPriceModifier(TinyLife.Skills.Quality)
- TinyLife.Utilities.Extensions.GetTimeSpan(MLEM.Misc.IGenericDataHolder,System.String)
- TinyLife.Utilities.Extensions.IsHorizontal(MLEM.Misc.Direction2)
- TinyLife.Utilities.Extensions.IsLockedFor(TinyLife.World.LockType,TinyLife.Objects.Person,TinyLife.World.Lot)
- TinyLife.Utilities.Extensions.IsVertical(MLEM.Misc.Direction2)
- TinyLife.Utilities.Extensions.JsonCopy``1(``0)
- TinyLife.Utilities.Extensions.OneCompleted(TinyLife.Actions.Action.CompletionType,System.Func{TinyLife.Actions.Action.CompletionType})
- TinyLife.Utilities.Extensions.SetTimeSpan(MLEM.Misc.IGenericDataHolder,System.String,System.TimeSpan)
- TinyLife.Utilities.Extensions.ToLocalizedString(TinyLife.Skills.Quality)
- TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2,System.Boolean,System.Boolean,System.Boolean)
- TinyLife.Utilities.Extensions.ToSellingPriceString(System.Single)
- TinyLife.Utilities.Extensions.ToSimpleLocalizedString(System.TimeSpan)
- TinyLife.Utilities.Extensions.ToVisualY(Microsoft.Xna.Framework.Vector2)
- TinyLife.Utilities.Extensions.ToWallSide(MLEM.Misc.Direction2)
- TinyLife.Utilities.Extensions.ToWorking(TinyLife.Objects.Person.Pose)
- TinyLife.Utilities.Extensions.ToWorldPos(Microsoft.Xna.Framework.Vector2,System.Boolean)
langs:
- csharp
- vb
name: Extensions
nameWithType: Extensions
fullName: TinyLife.Utilities.Extensions
type: Class
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: Extensions
path: Utilities/Extensions.cs
2021-08-30 20:44:32 +02:00
startLine: 27
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nA set of extensions for dealing with various things required by Tiny Life.\n"
example: []
syntax:
content: public static class Extensions
content.vb: Public Module Extensions
inheritance:
- System.Object
inheritedMembers:
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object,System.Object)
- System.Object.GetHashCode
- System.Object.GetType
- System.Object.MemberwiseClone
- System.Object.ReferenceEquals(System.Object,System.Object)
- System.Object.ToString
modifiers.csharp:
- public
- static
- class
modifiers.vb:
- Public
- Module
- uid: TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2,System.Boolean,System.Boolean,System.Boolean)
commentId: M:TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2,System.Boolean,System.Boolean,System.Boolean)
id: ToScreenPos(Microsoft.Xna.Framework.Vector2,System.Boolean,System.Boolean,System.Boolean)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: ToScreenPos(Vector2, Boolean, Boolean, Boolean)
nameWithType: Extensions.ToScreenPos(Vector2, Boolean, Boolean, Boolean)
fullName: TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2, System.Boolean, System.Boolean, System.Boolean)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: ToScreenPos
path: Utilities/Extensions.cs
2021-08-30 20:44:32 +02:00
startLine: 37
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nConverts the given world-space position into a draw-space position\n"
example: []
syntax:
content: public static Vector2 ToScreenPos(this Vector2 position, bool center = false, bool applyCameraRotation = true, bool borderOffset = false)
parameters:
- id: position
type: Microsoft.Xna.Framework.Vector2
description: The position to convert
- id: center
type: System.Boolean
description: If this is true, the position will be offset by half a tile, centering it on the screen
- id: applyCameraRotation
type: System.Boolean
description: Whether the game&apos;s current <xref href="TinyLife.Options.CameraRotation" data-throw-if-not-resolved="false"></xref> should be applied using <xref href="TinyLife.World.Map.ApplyCameraRotation(Microsoft.Xna.Framework.Vector2%2cSystem.Boolean%2cSystem.Nullable%7bMLEM.Misc.Direction2%7d)" data-throw-if-not-resolved="false"></xref>
- id: borderOffset
type: System.Boolean
description: Whether the map border offset should be applied to the camera rotation using <xref href="TinyLife.World.Map.ApplyCameraRotation(Microsoft.Xna.Framework.Vector2%2cSystem.Boolean%2cSystem.Nullable%7bMLEM.Misc.Direction2%7d)" data-throw-if-not-resolved="false"></xref>. This value only has an effect if <code data-dev-comment-type="paramref" class="paramref">applyCameraRotation</code> is true
return:
type: Microsoft.Xna.Framework.Vector2
description: The draw-space position
content.vb: >-
<ExtensionAttribute>
Public Shared Function ToScreenPos(position As Vector2, center As Boolean = False, applyCameraRotation As Boolean = True, borderOffset As Boolean = False) As Vector2
overload: TinyLife.Utilities.Extensions.ToScreenPos*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.ToWorldPos(Microsoft.Xna.Framework.Vector2,System.Boolean)
commentId: M:TinyLife.Utilities.Extensions.ToWorldPos(Microsoft.Xna.Framework.Vector2,System.Boolean)
id: ToWorldPos(Microsoft.Xna.Framework.Vector2,System.Boolean)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: ToWorldPos(Vector2, Boolean)
nameWithType: Extensions.ToWorldPos(Vector2, Boolean)
fullName: TinyLife.Utilities.Extensions.ToWorldPos(Microsoft.Xna.Framework.Vector2, System.Boolean)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: ToWorldPos
path: Utilities/Extensions.cs
2021-08-30 20:44:32 +02:00
startLine: 54
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nConverts the given draw-space position into a world-space position\n"
example: []
syntax:
content: public static Vector2 ToWorldPos(this Vector2 position, bool applyCameraRotation = true)
parameters:
- id: position
type: Microsoft.Xna.Framework.Vector2
description: The position to convert
- id: applyCameraRotation
type: System.Boolean
description: Whether the game&apos;s current <xref href="TinyLife.Options.CameraRotation" data-throw-if-not-resolved="false"></xref> should be applied using <xref href="TinyLife.World.Map.ApplyInverseCameraRotation(Microsoft.Xna.Framework.Vector2%2cSystem.Nullable%7bMLEM.Misc.Direction2%7d)" data-throw-if-not-resolved="false"></xref>
return:
type: Microsoft.Xna.Framework.Vector2
description: The world-space position
content.vb: >-
<ExtensionAttribute>
Public Shared Function ToWorldPos(position As Vector2, applyCameraRotation As Boolean = True) As Vector2
overload: TinyLife.Utilities.Extensions.ToWorldPos*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.ToVisualY(Microsoft.Xna.Framework.Vector2)
commentId: M:TinyLife.Utilities.Extensions.ToVisualY(Microsoft.Xna.Framework.Vector2)
id: ToVisualY(Microsoft.Xna.Framework.Vector2)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: ToVisualY(Vector2)
nameWithType: Extensions.ToVisualY(Vector2)
fullName: TinyLife.Utilities.Extensions.ToVisualY(Microsoft.Xna.Framework.Vector2)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: ToVisualY
path: Utilities/Extensions.cs
2021-08-30 20:44:32 +02:00
startLine: 69
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nReturns the given offset, but translated based on the game&apos;s current <xref href=\"TinyLife.Options.CameraRotation\" data-throw-if-not-resolved=\"false\"></xref>.\nFor any vector that is passed to this method, the translation that it represents will not be based on cardinal directions, but on directions related to the screen&apos;s orientation.\n"
example: []
syntax:
content: public static Vector2 ToVisualY(this Vector2 pos)
parameters:
- id: pos
type: Microsoft.Xna.Framework.Vector2
description: The position to turn into a visual y position
return:
type: Microsoft.Xna.Framework.Vector2
description: The given position translated into virtual y space
content.vb: >-
<ExtensionAttribute>
Public Shared Function ToVisualY(pos As Vector2) As Vector2
overload: TinyLife.Utilities.Extensions.ToVisualY*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.ToWallSide(MLEM.Misc.Direction2)
commentId: M:TinyLife.Utilities.Extensions.ToWallSide(MLEM.Misc.Direction2)
id: ToWallSide(MLEM.Misc.Direction2)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: ToWallSide(Direction2)
nameWithType: Extensions.ToWallSide(Direction2)
fullName: TinyLife.Utilities.Extensions.ToWallSide(MLEM.Misc.Direction2)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: ToWallSide
path: Utilities/Extensions.cs
2021-08-30 20:44:32 +02:00
startLine: 84
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nReturns an integer that represents the given <xref href=\"MLEM.Misc.Direction2\" data-throw-if-not-resolved=\"false\"></xref> as a side of a <xref href=\"TinyLife.World.Wall\" data-throw-if-not-resolved=\"false\"></xref>.\nSpecifically, <xref href=\"MLEM.Misc.Direction2.Up\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"MLEM.Misc.Direction2.Left\" data-throw-if-not-resolved=\"false\"></xref> return 0, any other directions return 1.\n"
example: []
syntax:
content: public static int ToWallSide(this Direction2 dir)
parameters:
- id: dir
type: MLEM.Misc.Direction2
description: The direction to convert into a wall side
return:
type: System.Int32
description: The corresponding wall side
content.vb: >-
<ExtensionAttribute>
Public Shared Function ToWallSide(dir As Direction2) As Integer
overload: TinyLife.Utilities.Extensions.ToWallSide*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.IsVertical(MLEM.Misc.Direction2)
commentId: M:TinyLife.Utilities.Extensions.IsVertical(MLEM.Misc.Direction2)
id: IsVertical(MLEM.Misc.Direction2)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: IsVertical(Direction2)
nameWithType: Extensions.IsVertical(Direction2)
fullName: TinyLife.Utilities.Extensions.IsVertical(MLEM.Misc.Direction2)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: IsVertical
path: Utilities/Extensions.cs
2021-08-30 20:44:32 +02:00
startLine: 94
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nReturns whether the passed direction is considered vertical.\nA vertical direction is <xref href=\"MLEM.Misc.Direction2.Up\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"MLEM.Misc.Direction2.Down\" data-throw-if-not-resolved=\"false\"></xref>. All other directions return false.\n"
example: []
syntax:
content: public static bool IsVertical(this Direction2 dir)
parameters:
- id: dir
type: MLEM.Misc.Direction2
description: The direction to check verticalness for
return:
type: System.Boolean
description: Whether or not the direction is vertical
content.vb: >-
<ExtensionAttribute>
Public Shared Function IsVertical(dir As Direction2) As Boolean
overload: TinyLife.Utilities.Extensions.IsVertical*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.IsHorizontal(MLEM.Misc.Direction2)
commentId: M:TinyLife.Utilities.Extensions.IsHorizontal(MLEM.Misc.Direction2)
id: IsHorizontal(MLEM.Misc.Direction2)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: IsHorizontal(Direction2)
nameWithType: Extensions.IsHorizontal(Direction2)
fullName: TinyLife.Utilities.Extensions.IsHorizontal(MLEM.Misc.Direction2)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: IsHorizontal
path: Utilities/Extensions.cs
2021-08-30 20:44:32 +02:00
startLine: 104
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nReturns whether the passed direction is considered horizontal.\nA horizontal direction is <xref href=\"MLEM.Misc.Direction2.Left\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"MLEM.Misc.Direction2.Right\" data-throw-if-not-resolved=\"false\"></xref>. All other directions return false.\n"
example: []
syntax:
content: public static bool IsHorizontal(this Direction2 dir)
parameters:
- id: dir
type: MLEM.Misc.Direction2
description: The direction to check horizontalness for
return:
type: System.Boolean
description: Whether or not the direction is horizontal
content.vb: >-
<ExtensionAttribute>
Public Shared Function IsHorizontal(dir As Direction2) As Boolean
overload: TinyLife.Utilities.Extensions.IsHorizontal*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
id: JsonCopy``1(``0)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: JsonCopy<T>(T)
nameWithType: Extensions.JsonCopy<T>(T)
fullName: TinyLife.Utilities.Extensions.JsonCopy<T>(T)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: JsonCopy
path: Utilities/Extensions.cs
2021-08-30 20:44:32 +02:00
startLine: 114
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nCopies the given object using the <xref href=\"TinyLife.SaveHandler.Serializer\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public static T JsonCopy<T>(this T obj)
parameters:
- id: obj
type: '{T}'
description: The object to copy
typeParameters:
- id: T
description: The type of the object
return:
type: '{T}'
description: A copy of the object
content.vb: >-
<ExtensionAttribute>
Public Shared Function JsonCopy(Of T)(obj As T) As T
overload: TinyLife.Utilities.Extensions.JsonCopy*
nameWithType.vb: Extensions.JsonCopy(Of T)(T)
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of T)(T)
name.vb: JsonCopy(Of T)(T)
- uid: TinyLife.Utilities.Extensions.GetPriceModifier(TinyLife.Skills.Quality)
commentId: M:TinyLife.Utilities.Extensions.GetPriceModifier(TinyLife.Skills.Quality)
id: GetPriceModifier(TinyLife.Skills.Quality)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: GetPriceModifier(Quality)
nameWithType: Extensions.GetPriceModifier(Quality)
fullName: TinyLife.Utilities.Extensions.GetPriceModifier(TinyLife.Skills.Quality)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: GetPriceModifier
path: Utilities/Extensions.cs
2021-08-30 20:44:32 +02:00
startLine: 131
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nReturns a multiplier that an object&apos;s price should be multiplied with based on the given <xref href=\"TinyLife.Skills.Quality\" data-throw-if-not-resolved=\"false\"></xref>.\nThe returned values are as follows:\n<xref href=\"TinyLife.Skills.Quality.Terrible\" data-throw-if-not-resolved=\"false\"></xref>: 0.5,\n<xref href=\"TinyLife.Skills.Quality.Good\" data-throw-if-not-resolved=\"false\"></xref>: 1.5,\n<xref href=\"TinyLife.Skills.Quality.Great\" data-throw-if-not-resolved=\"false\"></xref>: 2,\n<xref href=\"TinyLife.Skills.Quality.Perfect\" data-throw-if-not-resolved=\"false\"></xref>: 3,\n<xref href=\"TinyLife.Skills.Quality.Masterpiece\" data-throw-if-not-resolved=\"false\"></xref>: 5,\nElse: 1.\n"
example: []
syntax:
content: public static float GetPriceModifier(this Quality quality)
parameters:
- id: quality
type: TinyLife.Skills.Quality
description: The quality to query
return:
type: System.Single
description: The price modifier for the object
content.vb: >-
<ExtensionAttribute>
Public Shared Function GetPriceModifier(quality As Quality) As Single
overload: TinyLife.Utilities.Extensions.GetPriceModifier*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.GetDecorativeRating(TinyLife.Skills.Quality)
commentId: M:TinyLife.Utilities.Extensions.GetDecorativeRating(TinyLife.Skills.Quality)
id: GetDecorativeRating(TinyLife.Skills.Quality)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: GetDecorativeRating(Quality)
nameWithType: Extensions.GetDecorativeRating(Quality)
fullName: TinyLife.Utilities.Extensions.GetDecorativeRating(TinyLife.Skills.Quality)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: GetDecorativeRating
path: Utilities/Extensions.cs
2021-08-30 20:44:32 +02:00
startLine: 154
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nReturns the decorative rating of an object with the given <xref href=\"TinyLife.Skills.Quality\" data-throw-if-not-resolved=\"false\"></xref>.\nThe returned values are as follows:\n<xref href=\"TinyLife.Skills.Quality.Terrible\" data-throw-if-not-resolved=\"false\"></xref>: -2,\n<xref href=\"TinyLife.Skills.Quality.Good\" data-throw-if-not-resolved=\"false\"></xref>: 1,\n<xref href=\"TinyLife.Skills.Quality.Great\" data-throw-if-not-resolved=\"false\"></xref>: 1,\n<xref href=\"TinyLife.Skills.Quality.Perfect\" data-throw-if-not-resolved=\"false\"></xref>: 2,\n<xref href=\"TinyLife.Skills.Quality.Masterpiece\" data-throw-if-not-resolved=\"false\"></xref>: 3,\nElse: 0.\n"
example: []
syntax:
content: public static int GetDecorativeRating(this Quality quality)
parameters:
- id: quality
type: TinyLife.Skills.Quality
description: The quality to query
return:
type: System.Int32
description: The decorative rating for this quality
content.vb: >-
<ExtensionAttribute>
Public Shared Function GetDecorativeRating(quality As Quality) As Integer
overload: TinyLife.Utilities.Extensions.GetDecorativeRating*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.GetChanceModifier(TinyLife.Skills.Quality)
commentId: M:TinyLife.Utilities.Extensions.GetChanceModifier(TinyLife.Skills.Quality)
id: GetChanceModifier(TinyLife.Skills.Quality)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: GetChanceModifier(Quality)
nameWithType: Extensions.GetChanceModifier(Quality)
fullName: TinyLife.Utilities.Extensions.GetChanceModifier(TinyLife.Skills.Quality)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: GetChanceModifier
path: Utilities/Extensions.cs
2021-08-30 20:44:32 +02:00
startLine: 178
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nReturns a chance modifier for the given <xref href=\"TinyLife.Skills.Quality\" data-throw-if-not-resolved=\"false\"></xref>, which is always greater than 0 and less than or equal to 1.\nThis is useful for calculating the chance of something happening based on the quality of an object.\nThe returned values are as follows:\n<xref href=\"TinyLife.Skills.Quality.Terrible\" data-throw-if-not-resolved=\"false\"></xref>: 0.05,\n<xref href=\"TinyLife.Skills.Quality.Good\" data-throw-if-not-resolved=\"false\"></xref>: 0.55,\n<xref href=\"TinyLife.Skills.Quality.Great\" data-throw-if-not-resolved=\"false\"></xref>: 0.75,\n<xref href=\"TinyLife.Skills.Quality.Perfect\" data-throw-if-not-resolved=\"false\"></xref>: 0.9,\n<xref href=\"TinyLife.Skills.Quality.Masterpiece\" data-throw-if-not-resolved=\"false\"></xref>: 1,\nElse: 0.4.\n"
example: []
syntax:
content: public static float GetChanceModifier(this Quality quality)
parameters:
- id: quality
type: TinyLife.Skills.Quality
description: The quality to query
return:
type: System.Single
description: The chance modifier for this quality
content.vb: >-
<ExtensionAttribute>
Public Shared Function GetChanceModifier(quality As Quality) As Single
overload: TinyLife.Utilities.Extensions.GetChanceModifier*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.ToLocalizedString(TinyLife.Skills.Quality)
commentId: M:TinyLife.Utilities.Extensions.ToLocalizedString(TinyLife.Skills.Quality)
id: ToLocalizedString(TinyLife.Skills.Quality)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: ToLocalizedString(Quality)
nameWithType: Extensions.ToLocalizedString(Quality)
fullName: TinyLife.Utilities.Extensions.ToLocalizedString(TinyLife.Skills.Quality)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: ToLocalizedString
path: Utilities/Extensions.cs
2021-08-30 20:44:32 +02:00
startLine: 194
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nReturns a localized string for the given <xref href=\"TinyLife.Skills.Quality\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public static string ToLocalizedString(this Quality quality)
parameters:
- id: quality
type: TinyLife.Skills.Quality
description: The quality
return:
type: System.String
description: A localized string representing the quality
content.vb: >-
<ExtensionAttribute>
Public Shared Function ToLocalizedString(quality As Quality) As String
overload: TinyLife.Utilities.Extensions.ToLocalizedString*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.ToSellingPriceString(System.Single)
commentId: M:TinyLife.Utilities.Extensions.ToSellingPriceString(System.Single)
id: ToSellingPriceString(System.Single)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: ToSellingPriceString(Single)
nameWithType: Extensions.ToSellingPriceString(Single)
fullName: TinyLife.Utilities.Extensions.ToSellingPriceString(System.Single)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: ToSellingPriceString
path: Utilities/Extensions.cs
2021-08-30 20:44:32 +02:00
startLine: 204
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
2021-08-30 20:44:32 +02:00
summary: "\nReturns a localized string that says &quot;Sells for&quot;, followed by the passed <code data-dev-comment-type=\"paramref\" class=\"paramref\">value</code> in tiny bucks\n"
2021-08-04 06:51:12 +02:00
example: []
syntax:
content: public static string ToSellingPriceString(this float value)
parameters:
- id: value
type: System.Single
2021-08-30 20:44:32 +02:00
description: The value to display
2021-08-04 06:51:12 +02:00
return:
type: System.String
2021-08-30 20:44:32 +02:00
description: A selling price string that contains the value, in tiny bucks
2021-08-04 06:51:12 +02:00
content.vb: >-
<ExtensionAttribute>
Public Shared Function ToSellingPriceString(value As Single) As String
overload: TinyLife.Utilities.Extensions.ToSellingPriceString*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.BothValid(TinyLife.Actions.ActionType.CanExecuteResult,System.Func{TinyLife.Actions.ActionType.CanExecuteResult})
commentId: M:TinyLife.Utilities.Extensions.BothValid(TinyLife.Actions.ActionType.CanExecuteResult,System.Func{TinyLife.Actions.ActionType.CanExecuteResult})
id: BothValid(TinyLife.Actions.ActionType.CanExecuteResult,System.Func{TinyLife.Actions.ActionType.CanExecuteResult})
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: BothValid(ActionType.CanExecuteResult, Func<ActionType.CanExecuteResult>)
nameWithType: Extensions.BothValid(ActionType.CanExecuteResult, Func<ActionType.CanExecuteResult>)
fullName: TinyLife.Utilities.Extensions.BothValid(TinyLife.Actions.ActionType.CanExecuteResult, System.Func<TinyLife.Actions.ActionType.CanExecuteResult>)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: BothValid
path: Utilities/Extensions.cs
2021-08-30 20:44:32 +02:00
startLine: 215
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nA helper method to return <xref href=\"TinyLife.Actions.ActionType.CanExecuteResult.Valid\" data-throw-if-not-resolved=\"false\"></xref> only if both passed <xref href=\"TinyLife.Actions.ActionType.CanExecuteResult\" data-throw-if-not-resolved=\"false\"></xref> values are <xref href=\"TinyLife.Actions.ActionType.CanExecuteResult.Valid\" data-throw-if-not-resolved=\"false\"></xref>.\nIf this is not the case, the validity of the <code data-dev-comment-type=\"paramref\" class=\"paramref\">result</code> is returned if it is not <xref href=\"TinyLife.Actions.ActionType.CanExecuteResult.Valid\" data-throw-if-not-resolved=\"false\"></xref>, and otherwise, the validity of the <code data-dev-comment-type=\"paramref\" class=\"paramref\">other</code> is returned.\n"
example: []
syntax:
content: public static ActionType.CanExecuteResult BothValid(this ActionType.CanExecuteResult result, Func<ActionType.CanExecuteResult> other)
parameters:
- id: result
type: TinyLife.Actions.ActionType.CanExecuteResult
description: The first result
- id: other
type: System.Func{TinyLife.Actions.ActionType.CanExecuteResult}
description: The second result
return:
type: TinyLife.Actions.ActionType.CanExecuteResult
description: The validity of both results
content.vb: >-
<ExtensionAttribute>
Public Shared Function BothValid(result As ActionType.CanExecuteResult, other As Func(Of ActionType.CanExecuteResult)) As ActionType.CanExecuteResult
overload: TinyLife.Utilities.Extensions.BothValid*
nameWithType.vb: Extensions.BothValid(ActionType.CanExecuteResult, Func(Of ActionType.CanExecuteResult))
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
fullName.vb: TinyLife.Utilities.Extensions.BothValid(TinyLife.Actions.ActionType.CanExecuteResult, System.Func(Of TinyLife.Actions.ActionType.CanExecuteResult))
name.vb: BothValid(ActionType.CanExecuteResult, Func(Of ActionType.CanExecuteResult))
- uid: TinyLife.Utilities.Extensions.BothCompleted(TinyLife.Actions.Action.CompletionType,System.Func{TinyLife.Actions.Action.CompletionType})
commentId: M:TinyLife.Utilities.Extensions.BothCompleted(TinyLife.Actions.Action.CompletionType,System.Func{TinyLife.Actions.Action.CompletionType})
id: BothCompleted(TinyLife.Actions.Action.CompletionType,System.Func{TinyLife.Actions.Action.CompletionType})
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: BothCompleted(Action.CompletionType, Func<Action.CompletionType>)
nameWithType: Extensions.BothCompleted(Action.CompletionType, Func<Action.CompletionType>)
fullName: TinyLife.Utilities.Extensions.BothCompleted(TinyLife.Actions.Action.CompletionType, System.Func<TinyLife.Actions.Action.CompletionType>)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: BothCompleted
path: Utilities/Extensions.cs
2021-08-30 20:44:32 +02:00
startLine: 226
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nA helper method to return <xref href=\"TinyLife.Actions.Action.CompletionType.Active\" data-throw-if-not-resolved=\"false\"></xref> if one of the completion types is <xref href=\"TinyLife.Actions.Action.CompletionType.Active\" data-throw-if-not-resolved=\"false\"></xref>.\nIf this is not the case, the first completion type that is different is returned.\n"
example: []
syntax:
content: public static Action.CompletionType BothCompleted(this Action.CompletionType type, Func<Action.CompletionType> other)
parameters:
- id: type
type: TinyLife.Actions.Action.CompletionType
description: The first completion type
- id: other
type: System.Func{TinyLife.Actions.Action.CompletionType}
description: A function to gather the second completion type
return:
type: TinyLife.Actions.Action.CompletionType
description: <xref href="TinyLife.Actions.Action.CompletionType.Active" data-throw-if-not-resolved="false"></xref> if one of the completion types is <xref href="TinyLife.Actions.Action.CompletionType.Active" data-throw-if-not-resolved="false"></xref>, or the <code data-dev-comment-type="paramref" class="paramref">other</code>&apos;s completion type
content.vb: >-
<ExtensionAttribute>
Public Shared Function BothCompleted(type As Action.CompletionType, other As Func(Of Action.CompletionType)) As Action.CompletionType
overload: TinyLife.Utilities.Extensions.BothCompleted*
nameWithType.vb: Extensions.BothCompleted(Action.CompletionType, Func(Of Action.CompletionType))
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
fullName.vb: TinyLife.Utilities.Extensions.BothCompleted(TinyLife.Actions.Action.CompletionType, System.Func(Of TinyLife.Actions.Action.CompletionType))
name.vb: BothCompleted(Action.CompletionType, Func(Of Action.CompletionType))
- uid: TinyLife.Utilities.Extensions.OneCompleted(TinyLife.Actions.Action.CompletionType,System.Func{TinyLife.Actions.Action.CompletionType})
commentId: M:TinyLife.Utilities.Extensions.OneCompleted(TinyLife.Actions.Action.CompletionType,System.Func{TinyLife.Actions.Action.CompletionType})
id: OneCompleted(TinyLife.Actions.Action.CompletionType,System.Func{TinyLife.Actions.Action.CompletionType})
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: OneCompleted(Action.CompletionType, Func<Action.CompletionType>)
nameWithType: Extensions.OneCompleted(Action.CompletionType, Func<Action.CompletionType>)
fullName: TinyLife.Utilities.Extensions.OneCompleted(TinyLife.Actions.Action.CompletionType, System.Func<TinyLife.Actions.Action.CompletionType>)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: OneCompleted
path: Utilities/Extensions.cs
2021-08-30 20:44:32 +02:00
startLine: 237
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nA helper method to return <xref href=\"TinyLife.Actions.Action.CompletionType.Active\" data-throw-if-not-resolved=\"false\"></xref> if both of the completion types are <xref href=\"TinyLife.Actions.Action.CompletionType.Active\" data-throw-if-not-resolved=\"false\"></xref>.\nIf this is not the case, the first completion type that is different is returned.\n"
example: []
syntax:
content: public static Action.CompletionType OneCompleted(this Action.CompletionType type, Func<Action.CompletionType> other)
parameters:
- id: type
type: TinyLife.Actions.Action.CompletionType
description: The first completion type
- id: other
type: System.Func{TinyLife.Actions.Action.CompletionType}
description: A function to gather the second completion type
return:
type: TinyLife.Actions.Action.CompletionType
description: The first non-active completion type, or <xref href="TinyLife.Actions.Action.CompletionType.Active" data-throw-if-not-resolved="false"></xref> if there is none
content.vb: >-
<ExtensionAttribute>
Public Shared Function OneCompleted(type As Action.CompletionType, other As Func(Of Action.CompletionType)) As Action.CompletionType
overload: TinyLife.Utilities.Extensions.OneCompleted*
nameWithType.vb: Extensions.OneCompleted(Action.CompletionType, Func(Of Action.CompletionType))
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
fullName.vb: TinyLife.Utilities.Extensions.OneCompleted(TinyLife.Actions.Action.CompletionType, System.Func(Of TinyLife.Actions.Action.CompletionType))
name.vb: OneCompleted(Action.CompletionType, Func(Of Action.CompletionType))
- uid: TinyLife.Utilities.Extensions.GetOpposite(TinyLife.GenealogyType)
commentId: M:TinyLife.Utilities.Extensions.GetOpposite(TinyLife.GenealogyType)
id: GetOpposite(TinyLife.GenealogyType)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: GetOpposite(GenealogyType)
nameWithType: Extensions.GetOpposite(GenealogyType)
fullName: TinyLife.Utilities.Extensions.GetOpposite(TinyLife.GenealogyType)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: GetOpposite
path: Utilities/Extensions.cs
2021-08-30 20:44:32 +02:00
startLine: 248
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nReturns the opposite of the given <xref href=\"TinyLife.GenealogyType\" data-throw-if-not-resolved=\"false\"></xref>.\nThe &quot;opposite&quot; is the relationship that the other partner of this <xref href=\"TinyLife.GenealogyType\" data-throw-if-not-resolved=\"false\"></xref> will have.\nFor example, the opposite of <xref href=\"TinyLife.GenealogyType.Parent\" data-throw-if-not-resolved=\"false\"></xref> is <xref href=\"TinyLife.GenealogyType.Child\" data-throw-if-not-resolved=\"false\"></xref> and vice versa.\n"
example: []
syntax:
content: public static GenealogyType GetOpposite(this GenealogyType type)
parameters:
- id: type
type: TinyLife.GenealogyType
description: The genealogy type
return:
type: TinyLife.GenealogyType
description: The genealogy type&apos;s opposite
content.vb: >-
<ExtensionAttribute>
Public Shared Function GetOpposite(type As GenealogyType) As GenealogyType
overload: TinyLife.Utilities.Extensions.GetOpposite*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.ToWorking(TinyLife.Objects.Person.Pose)
commentId: M:TinyLife.Utilities.Extensions.ToWorking(TinyLife.Objects.Person.Pose)
id: ToWorking(TinyLife.Objects.Person.Pose)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: ToWorking(Person.Pose)
nameWithType: Extensions.ToWorking(Person.Pose)
fullName: TinyLife.Utilities.Extensions.ToWorking(TinyLife.Objects.Person.Pose)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: ToWorking
path: Utilities/Extensions.cs
2021-09-09 19:52:04 +02:00
startLine: 269
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nConverts the given <xref href=\"TinyLife.Objects.Person.Pose\" data-throw-if-not-resolved=\"false\"></xref> to a version in which a person is looking as if they were working on something.\nFor all standing poses, this returns <xref href=\"TinyLife.Objects.Person.Pose.WorkingStanding\" data-throw-if-not-resolved=\"false\"></xref>, and for all sitting poses, <xref href=\"TinyLife.Objects.Person.Pose.WorkingSitting\" data-throw-if-not-resolved=\"false\"></xref> is returned.\n"
example: []
syntax:
content: public static Person.Pose ToWorking(this Person.Pose pose)
parameters:
- id: pose
type: TinyLife.Objects.Person.Pose
description: The pose to convert to a working pose
return:
type: TinyLife.Objects.Person.Pose
description: The working version of the given pose
content.vb: >-
<ExtensionAttribute>
Public Shared Function ToWorking(pose As Person.Pose) As Person.Pose
overload: TinyLife.Utilities.Extensions.ToWorking*
exceptions:
- type: System.ArgumentOutOfRangeException
commentId: T:System.ArgumentOutOfRangeException
description: If the given pose does not have a working version
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.AddHoverAnimation(MLEM.Ui.Elements.Button)
commentId: M:TinyLife.Utilities.Extensions.AddHoverAnimation(MLEM.Ui.Elements.Button)
id: AddHoverAnimation(MLEM.Ui.Elements.Button)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: AddHoverAnimation(Button)
nameWithType: Extensions.AddHoverAnimation(Button)
fullName: TinyLife.Utilities.Extensions.AddHoverAnimation(MLEM.Ui.Elements.Button)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: AddHoverAnimation
path: Utilities/Extensions.cs
2021-09-09 19:52:04 +02:00
startLine: 289
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nAdds a hover animation to the given <xref href=\"MLEM.Ui.Elements.Button\" data-throw-if-not-resolved=\"false\"></xref>.\nThe hover animation will automatically start playing when the mouse enters the button.\n"
example: []
syntax:
content: public static Button AddHoverAnimation(this Button button)
parameters:
- id: button
type: MLEM.Ui.Elements.Button
description: The button to add the hover animation to
return:
type: MLEM.Ui.Elements.Button
description: The button, for chaining
content.vb: >-
<ExtensionAttribute>
Public Shared Function AddHoverAnimation(button As Button) As Button
overload: TinyLife.Utilities.Extensions.AddHoverAnimation*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.ToSimpleLocalizedString(System.TimeSpan)
commentId: M:TinyLife.Utilities.Extensions.ToSimpleLocalizedString(System.TimeSpan)
id: ToSimpleLocalizedString(System.TimeSpan)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: ToSimpleLocalizedString(TimeSpan)
nameWithType: Extensions.ToSimpleLocalizedString(TimeSpan)
fullName: TinyLife.Utilities.Extensions.ToSimpleLocalizedString(System.TimeSpan)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: ToSimpleLocalizedString
path: Utilities/Extensions.cs
2021-09-09 19:52:04 +02:00
startLine: 311
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nReturns a string, localized using <xref href=\"TinyLife.Localization\" data-throw-if-not-resolved=\"false\"></xref>, that represents the largest value of the time span.\nIf the time span includes multiple days, a string representing just days is returned. Otherwise, the full hours are returned, and otherwise, the full minutes are returned.\n"
example: []
syntax:
content: public static string ToSimpleLocalizedString(this TimeSpan time)
parameters:
- id: time
type: System.TimeSpan
description: The time to localize
return:
type: System.String
description: A simple localized string for the time span
content.vb: >-
<ExtensionAttribute>
Public Shared Function ToSimpleLocalizedString(time As TimeSpan) As String
overload: TinyLife.Utilities.Extensions.ToSimpleLocalizedString*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.GetDefaultTab(TinyLife.Objects.ObjectCategory)
commentId: M:TinyLife.Utilities.Extensions.GetDefaultTab(TinyLife.Objects.ObjectCategory)
id: GetDefaultTab(TinyLife.Objects.ObjectCategory)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: GetDefaultTab(ObjectCategory)
nameWithType: Extensions.GetDefaultTab(ObjectCategory)
fullName: TinyLife.Utilities.Extensions.GetDefaultTab(TinyLife.Objects.ObjectCategory)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: GetDefaultTab
path: Utilities/Extensions.cs
2021-09-09 19:52:04 +02:00
startLine: 324
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nReturns the default <xref href=\"TinyLife.Tools.FurnitureTool.Tab\" data-throw-if-not-resolved=\"false\"></xref> flags that the given <xref href=\"TinyLife.Objects.ObjectCategory\" data-throw-if-not-resolved=\"false\"></xref> flag combination should be sorted into\n"
example: []
syntax:
content: public static FurnitureTool.Tab GetDefaultTab(this ObjectCategory categories)
parameters:
- id: categories
type: TinyLife.Objects.ObjectCategory
description: The categories that an object has
return:
type: TinyLife.Tools.FurnitureTool.Tab
description: The tabs most fitting for the object
content.vb: >-
<ExtensionAttribute>
Public Shared Function GetDefaultTab(categories As ObjectCategory) As FurnitureTool.Tab
overload: TinyLife.Utilities.Extensions.GetDefaultTab*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.GetDefaultDirtyOverlayTextureName(TinyLife.Objects.ObjectCategory)
commentId: M:TinyLife.Utilities.Extensions.GetDefaultDirtyOverlayTextureName(TinyLife.Objects.ObjectCategory)
id: GetDefaultDirtyOverlayTextureName(TinyLife.Objects.ObjectCategory)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: GetDefaultDirtyOverlayTextureName(ObjectCategory)
nameWithType: Extensions.GetDefaultDirtyOverlayTextureName(ObjectCategory)
fullName: TinyLife.Utilities.Extensions.GetDefaultDirtyOverlayTextureName(TinyLife.Objects.ObjectCategory)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: GetDefaultDirtyOverlayTextureName
path: Utilities/Extensions.cs
2021-09-09 19:52:04 +02:00
startLine: 355
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
2021-08-30 20:44:32 +02:00
summary: "\nReturns the default <xref href=\"TinyLife.Objects.FurnitureType.TypeSettings.DirtyOverlayTextureName\" data-throw-if-not-resolved=\"false\"></xref> to use for the given set of <xref href=\"TinyLife.Objects.ObjectCategory\" data-throw-if-not-resolved=\"false\"></xref> flags.\nIf none of the flags match a default overlay texture, this method will return null.\n"
example: []
2021-08-04 06:51:12 +02:00
syntax:
content: public static string GetDefaultDirtyOverlayTextureName(this ObjectCategory category)
parameters:
- id: category
type: TinyLife.Objects.ObjectCategory
2021-08-30 20:44:32 +02:00
description: The categories to get the default texture for
2021-08-04 06:51:12 +02:00
return:
type: System.String
2021-08-30 20:44:32 +02:00
description: The default texture
2021-08-04 06:51:12 +02:00
content.vb: >-
<ExtensionAttribute>
Public Shared Function GetDefaultDirtyOverlayTextureName(category As ObjectCategory) As String
overload: TinyLife.Utilities.Extensions.GetDefaultDirtyOverlayTextureName*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.CloseLater(MLEM.Ui.Elements.Element)
commentId: M:TinyLife.Utilities.Extensions.CloseLater(MLEM.Ui.Elements.Element)
id: CloseLater(MLEM.Ui.Elements.Element)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: CloseLater(Element)
nameWithType: Extensions.CloseLater(Element)
fullName: TinyLife.Utilities.Extensions.CloseLater(MLEM.Ui.Elements.Element)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: CloseLater
path: Utilities/Extensions.cs
2021-09-09 19:52:04 +02:00
startLine: 370
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nCloses the given <xref href=\"MLEM.Ui.Elements.Element\" data-throw-if-not-resolved=\"false\"></xref>, removing it from its root, in the next frame.\nThis is useful if the element is closed early in the update loop, and the user&apos;s click has not been fully processed yet.\n"
example: []
syntax:
content: public static void CloseLater(this Element element)
parameters:
- id: element
type: MLEM.Ui.Elements.Element
description: The element to close
content.vb: >-
<ExtensionAttribute>
Public Shared Sub CloseLater(element As Element)
overload: TinyLife.Utilities.Extensions.CloseLater*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.GetTimeSpan(MLEM.Misc.IGenericDataHolder,System.String)
commentId: M:TinyLife.Utilities.Extensions.GetTimeSpan(MLEM.Misc.IGenericDataHolder,System.String)
id: GetTimeSpan(MLEM.Misc.IGenericDataHolder,System.String)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: GetTimeSpan(IGenericDataHolder, String)
nameWithType: Extensions.GetTimeSpan(IGenericDataHolder, String)
fullName: TinyLife.Utilities.Extensions.GetTimeSpan(MLEM.Misc.IGenericDataHolder, System.String)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: GetTimeSpan
path: Utilities/Extensions.cs
2021-09-09 19:52:04 +02:00
startLine: 382
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nGets a time span from the object&apos;s generic data.\nThe time span is stored as a <xref href=\"System.Double\" data-throw-if-not-resolved=\"false\"></xref>, which represents the amount of milliseconds that it contains.\n"
example: []
syntax:
content: public static TimeSpan GetTimeSpan(this IGenericDataHolder holder, string name)
parameters:
- id: holder
type: MLEM.Misc.IGenericDataHolder
description: The object holder
- id: name
type: System.String
description: The name of the time span to get
return:
type: System.TimeSpan
description: The time span
content.vb: >-
<ExtensionAttribute>
Public Shared Function GetTimeSpan(holder As IGenericDataHolder, name As String) As TimeSpan
overload: TinyLife.Utilities.Extensions.GetTimeSpan*
seealso:
- linkId: MLEM.Misc.GenericDataHolder.GetData``1(System.String)
commentId: M:MLEM.Misc.GenericDataHolder.GetData``1(System.String)
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.SetTimeSpan(MLEM.Misc.IGenericDataHolder,System.String,System.TimeSpan)
commentId: M:TinyLife.Utilities.Extensions.SetTimeSpan(MLEM.Misc.IGenericDataHolder,System.String,System.TimeSpan)
id: SetTimeSpan(MLEM.Misc.IGenericDataHolder,System.String,System.TimeSpan)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: SetTimeSpan(IGenericDataHolder, String, TimeSpan)
nameWithType: Extensions.SetTimeSpan(IGenericDataHolder, String, TimeSpan)
fullName: TinyLife.Utilities.Extensions.SetTimeSpan(MLEM.Misc.IGenericDataHolder, System.String, System.TimeSpan)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: SetTimeSpan
path: Utilities/Extensions.cs
2021-09-09 19:52:04 +02:00
startLine: 395
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nSets a time span to the object&apos;s generic data.\nThe time span is stored as a <xref href=\"System.Double\" data-throw-if-not-resolved=\"false\"></xref>, which represents the amount of milliseconds that it contains.\n"
example: []
syntax:
content: public static void SetTimeSpan(this IGenericDataHolder holder, string name, TimeSpan value)
parameters:
- id: holder
type: MLEM.Misc.IGenericDataHolder
description: The object holder
- id: name
type: System.String
description: The name of the time span to get
- id: value
type: System.TimeSpan
description: The time span to set
content.vb: >-
<ExtensionAttribute>
Public Shared Sub SetTimeSpan(holder As IGenericDataHolder, name As String, value As TimeSpan)
overload: TinyLife.Utilities.Extensions.SetTimeSpan*
seealso:
- linkId: MLEM.Misc.GenericDataHolder.SetData(System.String,System.Object)
commentId: M:MLEM.Misc.GenericDataHolder.SetData(System.String,System.Object)
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.IsLockedFor(TinyLife.World.LockType,TinyLife.Objects.Person,TinyLife.World.Lot)
commentId: M:TinyLife.Utilities.Extensions.IsLockedFor(TinyLife.World.LockType,TinyLife.Objects.Person,TinyLife.World.Lot)
id: IsLockedFor(TinyLife.World.LockType,TinyLife.Objects.Person,TinyLife.World.Lot)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: IsLockedFor(LockType, Person, Lot)
nameWithType: Extensions.IsLockedFor(LockType, Person, Lot)
fullName: TinyLife.Utilities.Extensions.IsLockedFor(TinyLife.World.LockType, TinyLife.Objects.Person, TinyLife.World.Lot)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: IsLockedFor
path: Utilities/Extensions.cs
2021-09-09 19:52:04 +02:00
startLine: 406
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nReturns whether the given <xref href=\"TinyLife.World.LockType\" data-throw-if-not-resolved=\"false\"></xref> is considered &quot;locked&quot; for the given <xref href=\"TinyLife.Objects.Person\" data-throw-if-not-resolved=\"false\"></xref> on the given <xref href=\"TinyLife.World.Lot\" data-throw-if-not-resolved=\"false\"></xref>\n"
example: []
syntax:
content: public static bool IsLockedFor(this LockType type, Person person, Lot lot)
parameters:
- id: type
type: TinyLife.World.LockType
description: The lock type to query
- id: person
type: TinyLife.Objects.Person
description: The person to query
- id: lot
type: TinyLife.World.Lot
description: The lot that the object locked with the given <code data-dev-comment-type="paramref" class="paramref">type</code> is on
return:
type: System.Boolean
description: Whether the lock type is considered locked for the person
content.vb: >-
<ExtensionAttribute>
Public Shared Function IsLockedFor(type As LockType, person As Person, lot As Lot) As Boolean
overload: TinyLife.Utilities.Extensions.IsLockedFor*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- uid: TinyLife.Utilities.Extensions.DrawIsoArea(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Misc.RectangleF,Microsoft.Xna.Framework.Color,System.Boolean)
commentId: M:TinyLife.Utilities.Extensions.DrawIsoArea(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Misc.RectangleF,Microsoft.Xna.Framework.Color,System.Boolean)
id: DrawIsoArea(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Misc.RectangleF,Microsoft.Xna.Framework.Color,System.Boolean)
isExtensionMethod: true
parent: TinyLife.Utilities.Extensions
langs:
- csharp
- vb
name: DrawIsoArea(SpriteBatch, RectangleF, Color, Boolean)
nameWithType: Extensions.DrawIsoArea(SpriteBatch, RectangleF, Color, Boolean)
fullName: TinyLife.Utilities.Extensions.DrawIsoArea(Microsoft.Xna.Framework.Graphics.SpriteBatch, MLEM.Misc.RectangleF, Microsoft.Xna.Framework.Color, System.Boolean)
type: Method
source:
remote:
path: TinyLife/Utilities/Extensions.cs
branch: master
2021-08-30 20:44:32 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife.git
2021-08-04 06:51:12 +02:00
id: DrawIsoArea
path: Utilities/Extensions.cs
2021-09-09 19:52:04 +02:00
startLine: 427
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nDraws an isometric rectangle with the given data\n"
example: []
syntax:
content: public static void DrawIsoArea(this SpriteBatch batch, RectangleF area, Color color, bool showSize = false)
parameters:
- id: batch
type: Microsoft.Xna.Framework.Graphics.SpriteBatch
description: The sprite batch to draw with
- id: area
type: MLEM.Misc.RectangleF
description: The area, in world space, to draw a rectangle around
- id: color
type: Microsoft.Xna.Framework.Color
description: The color that the rectangle should have
- id: showSize
type: System.Boolean
description: Whether the rectangle&apos;s size in world tiles should be displayed on the screen as a string in the center of the drawn rectangle
content.vb: >-
<ExtensionAttribute>
Public Shared Sub DrawIsoArea(batch As SpriteBatch, area As RectangleF, color As Color, showSize As Boolean = False)
overload: TinyLife.Utilities.Extensions.DrawIsoArea*
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
references:
- uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities
- uid: System.Object
commentId: T:System.Object
parent: System
isExternal: true
name: Object
nameWithType: Object
fullName: System.Object
- uid: System.Object.Equals(System.Object)
commentId: M:System.Object.Equals(System.Object)
parent: System.Object
isExternal: true
name: Equals(Object)
nameWithType: Object.Equals(Object)
fullName: System.Object.Equals(System.Object)
spec.csharp:
- uid: System.Object.Equals(System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.Equals(System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Object.Equals(System.Object,System.Object)
commentId: M:System.Object.Equals(System.Object,System.Object)
parent: System.Object
isExternal: true
name: Equals(Object, Object)
nameWithType: Object.Equals(Object, Object)
fullName: System.Object.Equals(System.Object, System.Object)
spec.csharp:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Object.GetHashCode
commentId: M:System.Object.GetHashCode
parent: System.Object
isExternal: true
name: GetHashCode()
nameWithType: Object.GetHashCode()
fullName: System.Object.GetHashCode()
spec.csharp:
- uid: System.Object.GetHashCode
name: GetHashCode
nameWithType: Object.GetHashCode
fullName: System.Object.GetHashCode
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.GetHashCode
name: GetHashCode
nameWithType: Object.GetHashCode
fullName: System.Object.GetHashCode
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: System.Object.GetType
commentId: M:System.Object.GetType
parent: System.Object
isExternal: true
name: GetType()
nameWithType: Object.GetType()
fullName: System.Object.GetType()
spec.csharp:
- uid: System.Object.GetType
name: GetType
nameWithType: Object.GetType
fullName: System.Object.GetType
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.GetType
name: GetType
nameWithType: Object.GetType
fullName: System.Object.GetType
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: System.Object.MemberwiseClone
commentId: M:System.Object.MemberwiseClone
parent: System.Object
isExternal: true
name: MemberwiseClone()
nameWithType: Object.MemberwiseClone()
fullName: System.Object.MemberwiseClone()
spec.csharp:
- uid: System.Object.MemberwiseClone
name: MemberwiseClone
nameWithType: Object.MemberwiseClone
fullName: System.Object.MemberwiseClone
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.MemberwiseClone
name: MemberwiseClone
nameWithType: Object.MemberwiseClone
fullName: System.Object.MemberwiseClone
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
commentId: M:System.Object.ReferenceEquals(System.Object,System.Object)
parent: System.Object
isExternal: true
name: ReferenceEquals(Object, Object)
nameWithType: Object.ReferenceEquals(Object, Object)
fullName: System.Object.ReferenceEquals(System.Object, System.Object)
spec.csharp:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
nameWithType: Object.ReferenceEquals
fullName: System.Object.ReferenceEquals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
nameWithType: Object.ReferenceEquals
fullName: System.Object.ReferenceEquals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Object.ToString
commentId: M:System.Object.ToString
parent: System.Object
isExternal: true
name: ToString()
nameWithType: Object.ToString()
fullName: System.Object.ToString()
spec.csharp:
- uid: System.Object.ToString
name: ToString
nameWithType: Object.ToString
fullName: System.Object.ToString
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.ToString
name: ToString
nameWithType: Object.ToString
fullName: System.Object.ToString
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: System
commentId: N:System
isExternal: true
name: System
nameWithType: System
fullName: System
- uid: TinyLife.Options.CameraRotation
commentId: F:TinyLife.Options.CameraRotation
isExternal: true
- uid: TinyLife.World.Map.ApplyCameraRotation(Microsoft.Xna.Framework.Vector2,System.Boolean,System.Nullable{MLEM.Misc.Direction2})
commentId: M:TinyLife.World.Map.ApplyCameraRotation(Microsoft.Xna.Framework.Vector2,System.Boolean,System.Nullable{MLEM.Misc.Direction2})
isExternal: true
- uid: TinyLife.Utilities.Extensions.ToScreenPos*
commentId: Overload:TinyLife.Utilities.Extensions.ToScreenPos
name: ToScreenPos
nameWithType: Extensions.ToScreenPos
fullName: TinyLife.Utilities.Extensions.ToScreenPos
- uid: Microsoft.Xna.Framework.Vector2
commentId: T:Microsoft.Xna.Framework.Vector2
parent: Microsoft.Xna.Framework
isExternal: true
name: Vector2
nameWithType: Vector2
fullName: Microsoft.Xna.Framework.Vector2
- uid: System.Boolean
commentId: T:System.Boolean
parent: System
isExternal: true
name: Boolean
nameWithType: Boolean
fullName: System.Boolean
- uid: Microsoft.Xna.Framework
commentId: N:Microsoft.Xna.Framework
isExternal: true
name: Microsoft.Xna.Framework
nameWithType: Microsoft.Xna.Framework
fullName: Microsoft.Xna.Framework
- uid: TinyLife.World.Map.ApplyInverseCameraRotation(Microsoft.Xna.Framework.Vector2,System.Nullable{MLEM.Misc.Direction2})
commentId: M:TinyLife.World.Map.ApplyInverseCameraRotation(Microsoft.Xna.Framework.Vector2,System.Nullable{MLEM.Misc.Direction2})
isExternal: true
- uid: TinyLife.Utilities.Extensions.ToWorldPos*
commentId: Overload:TinyLife.Utilities.Extensions.ToWorldPos
name: ToWorldPos
nameWithType: Extensions.ToWorldPos
fullName: TinyLife.Utilities.Extensions.ToWorldPos
- uid: TinyLife.Utilities.Extensions.ToVisualY*
commentId: Overload:TinyLife.Utilities.Extensions.ToVisualY
name: ToVisualY
nameWithType: Extensions.ToVisualY
fullName: TinyLife.Utilities.Extensions.ToVisualY
- uid: MLEM.Misc.Direction2
commentId: T:MLEM.Misc.Direction2
parent: MLEM.Misc
isExternal: true
name: Direction2
nameWithType: Direction2
fullName: MLEM.Misc.Direction2
- uid: TinyLife.World.Wall
commentId: T:TinyLife.World.Wall
parent: TinyLife.World
name: Wall
nameWithType: Wall
fullName: TinyLife.World.Wall
- uid: MLEM.Misc.Direction2.Up
commentId: F:MLEM.Misc.Direction2.Up
isExternal: true
- uid: MLEM.Misc.Direction2.Left
commentId: F:MLEM.Misc.Direction2.Left
isExternal: true
- uid: TinyLife.Utilities.Extensions.ToWallSide*
commentId: Overload:TinyLife.Utilities.Extensions.ToWallSide
name: ToWallSide
nameWithType: Extensions.ToWallSide
fullName: TinyLife.Utilities.Extensions.ToWallSide
- uid: System.Int32
commentId: T:System.Int32
parent: System
isExternal: true
name: Int32
nameWithType: Int32
fullName: System.Int32
- uid: MLEM.Misc
commentId: N:MLEM.Misc
isExternal: true
name: MLEM.Misc
nameWithType: MLEM.Misc
fullName: MLEM.Misc
- uid: TinyLife.World
commentId: N:TinyLife.World
name: TinyLife.World
nameWithType: TinyLife.World
fullName: TinyLife.World
- uid: MLEM.Misc.Direction2.Down
commentId: F:MLEM.Misc.Direction2.Down
isExternal: true
- uid: TinyLife.Utilities.Extensions.IsVertical*
commentId: Overload:TinyLife.Utilities.Extensions.IsVertical
name: IsVertical
nameWithType: Extensions.IsVertical
fullName: TinyLife.Utilities.Extensions.IsVertical
- uid: MLEM.Misc.Direction2.Right
commentId: F:MLEM.Misc.Direction2.Right
isExternal: true
- uid: TinyLife.Utilities.Extensions.IsHorizontal*
commentId: Overload:TinyLife.Utilities.Extensions.IsHorizontal
name: IsHorizontal
nameWithType: Extensions.IsHorizontal
fullName: TinyLife.Utilities.Extensions.IsHorizontal
- uid: TinyLife.SaveHandler.Serializer
commentId: F:TinyLife.SaveHandler.Serializer
isExternal: true
- uid: TinyLife.Utilities.Extensions.JsonCopy*
commentId: Overload:TinyLife.Utilities.Extensions.JsonCopy
name: JsonCopy
nameWithType: Extensions.JsonCopy
fullName: TinyLife.Utilities.Extensions.JsonCopy
- uid: '{T}'
commentId: '!:T'
definition: T
name: T
nameWithType: T
fullName: T
- uid: T
name: T
nameWithType: T
fullName: T
- uid: TinyLife.Skills.Quality
commentId: T:TinyLife.Skills.Quality
parent: TinyLife.Skills
name: Quality
nameWithType: Quality
fullName: TinyLife.Skills.Quality
- uid: TinyLife.Skills.Quality.Terrible
commentId: F:TinyLife.Skills.Quality.Terrible
isExternal: true
- uid: TinyLife.Skills.Quality.Good
commentId: F:TinyLife.Skills.Quality.Good
isExternal: true
- uid: TinyLife.Skills.Quality.Great
commentId: F:TinyLife.Skills.Quality.Great
isExternal: true
- uid: TinyLife.Skills.Quality.Perfect
commentId: F:TinyLife.Skills.Quality.Perfect
isExternal: true
- uid: TinyLife.Skills.Quality.Masterpiece
commentId: F:TinyLife.Skills.Quality.Masterpiece
isExternal: true
- uid: TinyLife.Utilities.Extensions.GetPriceModifier*
commentId: Overload:TinyLife.Utilities.Extensions.GetPriceModifier
name: GetPriceModifier
nameWithType: Extensions.GetPriceModifier
fullName: TinyLife.Utilities.Extensions.GetPriceModifier
- uid: System.Single
commentId: T:System.Single
parent: System
isExternal: true
name: Single
nameWithType: Single
fullName: System.Single
- uid: TinyLife.Skills
commentId: N:TinyLife.Skills
name: TinyLife.Skills
nameWithType: TinyLife.Skills
fullName: TinyLife.Skills
- uid: TinyLife.Utilities.Extensions.GetDecorativeRating*
commentId: Overload:TinyLife.Utilities.Extensions.GetDecorativeRating
name: GetDecorativeRating
nameWithType: Extensions.GetDecorativeRating
fullName: TinyLife.Utilities.Extensions.GetDecorativeRating
- uid: TinyLife.Utilities.Extensions.GetChanceModifier*
commentId: Overload:TinyLife.Utilities.Extensions.GetChanceModifier
name: GetChanceModifier
nameWithType: Extensions.GetChanceModifier
fullName: TinyLife.Utilities.Extensions.GetChanceModifier
- uid: TinyLife.Utilities.Extensions.ToLocalizedString*
commentId: Overload:TinyLife.Utilities.Extensions.ToLocalizedString
name: ToLocalizedString
nameWithType: Extensions.ToLocalizedString
fullName: TinyLife.Utilities.Extensions.ToLocalizedString
- uid: System.String
commentId: T:System.String
parent: System
isExternal: true
name: String
nameWithType: String
fullName: System.String
- uid: TinyLife.Utilities.Extensions.ToSellingPriceString*
commentId: Overload:TinyLife.Utilities.Extensions.ToSellingPriceString
name: ToSellingPriceString
nameWithType: Extensions.ToSellingPriceString
fullName: TinyLife.Utilities.Extensions.ToSellingPriceString
- uid: TinyLife.Actions.ActionType.CanExecuteResult.Valid
commentId: F:TinyLife.Actions.ActionType.CanExecuteResult.Valid
isExternal: true
- uid: TinyLife.Actions.ActionType.CanExecuteResult
commentId: T:TinyLife.Actions.ActionType.CanExecuteResult
parent: TinyLife.Actions
name: ActionType.CanExecuteResult
nameWithType: ActionType.CanExecuteResult
fullName: TinyLife.Actions.ActionType.CanExecuteResult
- uid: TinyLife.Utilities.Extensions.BothValid*
commentId: Overload:TinyLife.Utilities.Extensions.BothValid
name: BothValid
nameWithType: Extensions.BothValid
fullName: TinyLife.Utilities.Extensions.BothValid
- uid: System.Func{TinyLife.Actions.ActionType.CanExecuteResult}
commentId: T:System.Func{TinyLife.Actions.ActionType.CanExecuteResult}
parent: System
definition: System.Func`1
name: Func<ActionType.CanExecuteResult>
nameWithType: Func<ActionType.CanExecuteResult>
fullName: System.Func<TinyLife.Actions.ActionType.CanExecuteResult>
nameWithType.vb: Func(Of ActionType.CanExecuteResult)
fullName.vb: System.Func(Of TinyLife.Actions.ActionType.CanExecuteResult)
name.vb: Func(Of ActionType.CanExecuteResult)
spec.csharp:
- uid: System.Func`1
name: Func
nameWithType: Func
fullName: System.Func
isExternal: true
- name: <
nameWithType: <
fullName: <
- uid: TinyLife.Actions.ActionType.CanExecuteResult
name: ActionType.CanExecuteResult
nameWithType: ActionType.CanExecuteResult
fullName: TinyLife.Actions.ActionType.CanExecuteResult
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Func`1
name: Func
nameWithType: Func
fullName: System.Func
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- uid: TinyLife.Actions.ActionType.CanExecuteResult
name: ActionType.CanExecuteResult
nameWithType: ActionType.CanExecuteResult
fullName: TinyLife.Actions.ActionType.CanExecuteResult
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Actions
commentId: N:TinyLife.Actions
name: TinyLife.Actions
nameWithType: TinyLife.Actions
fullName: TinyLife.Actions
- uid: System.Func`1
commentId: T:System.Func`1
isExternal: true
name: Func<TResult>
nameWithType: Func<TResult>
fullName: System.Func<TResult>
nameWithType.vb: Func(Of TResult)
fullName.vb: System.Func(Of TResult)
name.vb: Func(Of TResult)
spec.csharp:
- uid: System.Func`1
name: Func
nameWithType: Func
fullName: System.Func
isExternal: true
- name: <
nameWithType: <
fullName: <
- name: TResult
nameWithType: TResult
fullName: TResult
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Func`1
name: Func
nameWithType: Func
fullName: System.Func
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- name: TResult
nameWithType: TResult
fullName: TResult
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Actions.Action.CompletionType.Active
commentId: F:TinyLife.Actions.Action.CompletionType.Active
isExternal: true
- uid: TinyLife.Utilities.Extensions.BothCompleted*
commentId: Overload:TinyLife.Utilities.Extensions.BothCompleted
name: BothCompleted
nameWithType: Extensions.BothCompleted
fullName: TinyLife.Utilities.Extensions.BothCompleted
- uid: TinyLife.Actions.Action.CompletionType
commentId: T:TinyLife.Actions.Action.CompletionType
parent: TinyLife.Actions
name: Action.CompletionType
nameWithType: Action.CompletionType
fullName: TinyLife.Actions.Action.CompletionType
- uid: System.Func{TinyLife.Actions.Action.CompletionType}
commentId: T:System.Func{TinyLife.Actions.Action.CompletionType}
parent: System
definition: System.Func`1
name: Func<Action.CompletionType>
nameWithType: Func<Action.CompletionType>
fullName: System.Func<TinyLife.Actions.Action.CompletionType>
nameWithType.vb: Func(Of Action.CompletionType)
fullName.vb: System.Func(Of TinyLife.Actions.Action.CompletionType)
name.vb: Func(Of Action.CompletionType)
spec.csharp:
- uid: System.Func`1
name: Func
nameWithType: Func
fullName: System.Func
isExternal: true
- name: <
nameWithType: <
fullName: <
- uid: TinyLife.Actions.Action.CompletionType
name: Action.CompletionType
nameWithType: Action.CompletionType
fullName: TinyLife.Actions.Action.CompletionType
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Func`1
name: Func
nameWithType: Func
fullName: System.Func
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- uid: TinyLife.Actions.Action.CompletionType
name: Action.CompletionType
nameWithType: Action.CompletionType
fullName: TinyLife.Actions.Action.CompletionType
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Utilities.Extensions.OneCompleted*
commentId: Overload:TinyLife.Utilities.Extensions.OneCompleted
name: OneCompleted
nameWithType: Extensions.OneCompleted
fullName: TinyLife.Utilities.Extensions.OneCompleted
- uid: TinyLife.GenealogyType
commentId: T:TinyLife.GenealogyType
parent: TinyLife
name: GenealogyType
nameWithType: GenealogyType
fullName: TinyLife.GenealogyType
- uid: TinyLife.GenealogyType.Parent
commentId: F:TinyLife.GenealogyType.Parent
isExternal: true
- uid: TinyLife.GenealogyType.Child
commentId: F:TinyLife.GenealogyType.Child
isExternal: true
- uid: TinyLife.Utilities.Extensions.GetOpposite*
commentId: Overload:TinyLife.Utilities.Extensions.GetOpposite
name: GetOpposite
nameWithType: Extensions.GetOpposite
fullName: TinyLife.Utilities.Extensions.GetOpposite
- uid: TinyLife
commentId: N:TinyLife
name: TinyLife
nameWithType: TinyLife
fullName: TinyLife
- uid: TinyLife.Objects.Person.Pose
commentId: T:TinyLife.Objects.Person.Pose
parent: TinyLife.Objects
name: Person.Pose
nameWithType: Person.Pose
fullName: TinyLife.Objects.Person.Pose
- uid: TinyLife.Objects.Person.Pose.WorkingStanding
commentId: F:TinyLife.Objects.Person.Pose.WorkingStanding
isExternal: true
- uid: TinyLife.Objects.Person.Pose.WorkingSitting
commentId: F:TinyLife.Objects.Person.Pose.WorkingSitting
isExternal: true
- uid: System.ArgumentOutOfRangeException
commentId: T:System.ArgumentOutOfRangeException
isExternal: true
- uid: TinyLife.Utilities.Extensions.ToWorking*
commentId: Overload:TinyLife.Utilities.Extensions.ToWorking
name: ToWorking
nameWithType: Extensions.ToWorking
fullName: TinyLife.Utilities.Extensions.ToWorking
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
name: TinyLife.Objects
nameWithType: TinyLife.Objects
fullName: TinyLife.Objects
- uid: MLEM.Ui.Elements.Button
commentId: T:MLEM.Ui.Elements.Button
parent: MLEM.Ui.Elements
isExternal: true
name: Button
nameWithType: Button
fullName: MLEM.Ui.Elements.Button
- uid: TinyLife.Utilities.Extensions.AddHoverAnimation*
commentId: Overload:TinyLife.Utilities.Extensions.AddHoverAnimation
name: AddHoverAnimation
nameWithType: Extensions.AddHoverAnimation
fullName: TinyLife.Utilities.Extensions.AddHoverAnimation
- uid: MLEM.Ui.Elements
commentId: N:MLEM.Ui.Elements
isExternal: true
name: MLEM.Ui.Elements
nameWithType: MLEM.Ui.Elements
fullName: MLEM.Ui.Elements
- uid: TinyLife.Localization
commentId: T:TinyLife.Localization
name: Localization
nameWithType: Localization
fullName: TinyLife.Localization
- uid: TinyLife.Utilities.Extensions.ToSimpleLocalizedString*
commentId: Overload:TinyLife.Utilities.Extensions.ToSimpleLocalizedString
name: ToSimpleLocalizedString
nameWithType: Extensions.ToSimpleLocalizedString
fullName: TinyLife.Utilities.Extensions.ToSimpleLocalizedString
- uid: System.TimeSpan
commentId: T:System.TimeSpan
parent: System
isExternal: true
name: TimeSpan
nameWithType: TimeSpan
fullName: System.TimeSpan
- uid: TinyLife.Tools.FurnitureTool.Tab
commentId: T:TinyLife.Tools.FurnitureTool.Tab
parent: TinyLife.Tools
name: FurnitureTool.Tab
nameWithType: FurnitureTool.Tab
fullName: TinyLife.Tools.FurnitureTool.Tab
- uid: TinyLife.Objects.ObjectCategory
commentId: T:TinyLife.Objects.ObjectCategory
parent: TinyLife.Objects
name: ObjectCategory
nameWithType: ObjectCategory
fullName: TinyLife.Objects.ObjectCategory
- uid: TinyLife.Utilities.Extensions.GetDefaultTab*
commentId: Overload:TinyLife.Utilities.Extensions.GetDefaultTab
name: GetDefaultTab
nameWithType: Extensions.GetDefaultTab
fullName: TinyLife.Utilities.Extensions.GetDefaultTab
- uid: TinyLife.Tools
commentId: N:TinyLife.Tools
name: TinyLife.Tools
nameWithType: TinyLife.Tools
fullName: TinyLife.Tools
2021-08-30 20:44:32 +02:00
- uid: TinyLife.Objects.FurnitureType.TypeSettings.DirtyOverlayTextureName
commentId: F:TinyLife.Objects.FurnitureType.TypeSettings.DirtyOverlayTextureName
isExternal: true
2021-08-04 06:51:12 +02:00
- uid: TinyLife.Utilities.Extensions.GetDefaultDirtyOverlayTextureName*
commentId: Overload:TinyLife.Utilities.Extensions.GetDefaultDirtyOverlayTextureName
name: GetDefaultDirtyOverlayTextureName
nameWithType: Extensions.GetDefaultDirtyOverlayTextureName
fullName: TinyLife.Utilities.Extensions.GetDefaultDirtyOverlayTextureName
- uid: MLEM.Ui.Elements.Element
commentId: T:MLEM.Ui.Elements.Element
parent: MLEM.Ui.Elements
isExternal: true
name: Element
nameWithType: Element
fullName: MLEM.Ui.Elements.Element
- uid: TinyLife.Utilities.Extensions.CloseLater*
commentId: Overload:TinyLife.Utilities.Extensions.CloseLater
name: CloseLater
nameWithType: Extensions.CloseLater
fullName: TinyLife.Utilities.Extensions.CloseLater
- uid: System.Double
commentId: T:System.Double
isExternal: true
- uid: MLEM.Misc.GenericDataHolder.GetData``1(System.String)
commentId: M:MLEM.Misc.GenericDataHolder.GetData``1(System.String)
parent: MLEM.Misc.GenericDataHolder
isExternal: true
name: GetData<T>(String)
nameWithType: GenericDataHolder.GetData<T>(String)
fullName: MLEM.Misc.GenericDataHolder.GetData<T>(System.String)
nameWithType.vb: GenericDataHolder.GetData(Of T)(String)
fullName.vb: MLEM.Misc.GenericDataHolder.GetData(Of T)(System.String)
name.vb: GetData(Of T)(String)
spec.csharp:
- uid: MLEM.Misc.GenericDataHolder.GetData``1(System.String)
name: GetData<T>
nameWithType: GenericDataHolder.GetData<T>
fullName: MLEM.Misc.GenericDataHolder.GetData<T>
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.String
name: String
nameWithType: String
fullName: System.String
isExternal: true
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: MLEM.Misc.GenericDataHolder.GetData``1(System.String)
name: GetData(Of T)
nameWithType: GenericDataHolder.GetData(Of T)
fullName: MLEM.Misc.GenericDataHolder.GetData(Of T)
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.String
name: String
nameWithType: String
fullName: System.String
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Utilities.Extensions.GetTimeSpan*
commentId: Overload:TinyLife.Utilities.Extensions.GetTimeSpan
name: GetTimeSpan
nameWithType: Extensions.GetTimeSpan
fullName: TinyLife.Utilities.Extensions.GetTimeSpan
- uid: MLEM.Misc.IGenericDataHolder
commentId: T:MLEM.Misc.IGenericDataHolder
parent: MLEM.Misc
isExternal: true
name: IGenericDataHolder
nameWithType: IGenericDataHolder
fullName: MLEM.Misc.IGenericDataHolder
- uid: MLEM.Misc.GenericDataHolder
commentId: T:MLEM.Misc.GenericDataHolder
parent: MLEM.Misc
isExternal: true
name: GenericDataHolder
nameWithType: GenericDataHolder
fullName: MLEM.Misc.GenericDataHolder
- uid: MLEM.Misc.GenericDataHolder.SetData(System.String,System.Object)
commentId: M:MLEM.Misc.GenericDataHolder.SetData(System.String,System.Object)
parent: MLEM.Misc.GenericDataHolder
isExternal: true
name: SetData(String, Object)
nameWithType: GenericDataHolder.SetData(String, Object)
fullName: MLEM.Misc.GenericDataHolder.SetData(System.String, System.Object)
spec.csharp:
- uid: MLEM.Misc.GenericDataHolder.SetData(System.String,System.Object)
name: SetData
nameWithType: GenericDataHolder.SetData
fullName: MLEM.Misc.GenericDataHolder.SetData
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.String
name: String
nameWithType: String
fullName: System.String
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: MLEM.Misc.GenericDataHolder.SetData(System.String,System.Object)
name: SetData
nameWithType: GenericDataHolder.SetData
fullName: MLEM.Misc.GenericDataHolder.SetData
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.String
name: String
nameWithType: String
fullName: System.String
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Utilities.Extensions.SetTimeSpan*
commentId: Overload:TinyLife.Utilities.Extensions.SetTimeSpan
name: SetTimeSpan
nameWithType: Extensions.SetTimeSpan
fullName: TinyLife.Utilities.Extensions.SetTimeSpan
- uid: TinyLife.World.LockType
commentId: T:TinyLife.World.LockType
parent: TinyLife.World
name: LockType
nameWithType: LockType
fullName: TinyLife.World.LockType
- uid: TinyLife.Objects.Person
commentId: T:TinyLife.Objects.Person
parent: TinyLife.Objects
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- uid: TinyLife.World.Lot
commentId: T:TinyLife.World.Lot
parent: TinyLife.World
name: Lot
nameWithType: Lot
fullName: TinyLife.World.Lot
- uid: TinyLife.Utilities.Extensions.IsLockedFor*
commentId: Overload:TinyLife.Utilities.Extensions.IsLockedFor
name: IsLockedFor
nameWithType: Extensions.IsLockedFor
fullName: TinyLife.Utilities.Extensions.IsLockedFor
- uid: TinyLife.Utilities.Extensions.DrawIsoArea*
commentId: Overload:TinyLife.Utilities.Extensions.DrawIsoArea
name: DrawIsoArea
nameWithType: Extensions.DrawIsoArea
fullName: TinyLife.Utilities.Extensions.DrawIsoArea
- uid: Microsoft.Xna.Framework.Graphics.SpriteBatch
commentId: T:Microsoft.Xna.Framework.Graphics.SpriteBatch
parent: Microsoft.Xna.Framework.Graphics
isExternal: true
name: SpriteBatch
nameWithType: SpriteBatch
fullName: Microsoft.Xna.Framework.Graphics.SpriteBatch
- uid: MLEM.Misc.RectangleF
commentId: T:MLEM.Misc.RectangleF
parent: MLEM.Misc
isExternal: true
name: RectangleF
nameWithType: RectangleF
fullName: MLEM.Misc.RectangleF
- uid: Microsoft.Xna.Framework.Color
commentId: T:Microsoft.Xna.Framework.Color
parent: Microsoft.Xna.Framework
isExternal: true
name: Color
nameWithType: Color
fullName: Microsoft.Xna.Framework.Color
- uid: Microsoft.Xna.Framework.Graphics
commentId: N:Microsoft.Xna.Framework.Graphics
isExternal: true
name: Microsoft.Xna.Framework.Graphics
nameWithType: Microsoft.Xna.Framework.Graphics
fullName: Microsoft.Xna.Framework.Graphics