TinyLifeWeb/docs/api/TinyLife.Objects.StylePreference.yml

263 lines
8.3 KiB
YAML
Raw Normal View History

2023-06-25 15:41:49 +02:00
### YamlMime:ManagedReference
items:
- uid: TinyLife.Objects.StylePreference
commentId: T:TinyLife.Objects.StylePreference
id: StylePreference
parent: TinyLife.Objects
children:
- TinyLife.Objects.StylePreference.Feminine
- TinyLife.Objects.StylePreference.Masculine
- TinyLife.Objects.StylePreference.Neutral
langs:
- csharp
- vb
name: StylePreference
nameWithType: StylePreference
fullName: TinyLife.Objects.StylePreference
type: Enum
source:
remote:
path: TinyLife/Objects/Clothes.cs
2023-12-06 13:25:52 +01:00
branch: main
2023-06-25 15:41:49 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StylePreference
path: ../TinyLife/Objects/Clothes.cs
2024-01-07 16:53:47 +01:00
startLine: 523
2023-06-25 15:41:49 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Objects
2024-01-07 16:53:47 +01:00
summary: >-
A set of values that represent a style preference that a <xref href="TinyLife.Objects.Clothes" data-throw-if-not-resolved="false"></xref> item is meant to fit most, or is intended for.
Tiny Life uses the style preference system as a rough guide when randomly generating outfits and other properties for Tinies, always taking it into account with a chance of 50% and lower.
Clothing items like t-shirts, pants and hats should generally use the <xref href="TinyLife.Objects.StylePreference.Neutral" data-throw-if-not-resolved="false"></xref> style preference, which will make every Tiny consider the item equally.
2023-06-25 15:41:49 +02:00
example: []
syntax:
content: public enum StylePreference
content.vb: Public Enum StylePreference
extensionMethods:
- TinyLife.Objects.StylePreference.TinyLife.Utilities.Extensions.JsonCopy``1
- uid: TinyLife.Objects.StylePreference.Neutral
commentId: F:TinyLife.Objects.StylePreference.Neutral
id: Neutral
parent: TinyLife.Objects.StylePreference
langs:
- csharp
- vb
name: Neutral
nameWithType: StylePreference.Neutral
fullName: TinyLife.Objects.StylePreference.Neutral
type: Field
source:
remote:
path: TinyLife/Objects/Clothes.cs
2023-12-06 13:25:52 +01:00
branch: main
2023-06-25 15:41:49 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Neutral
path: ../TinyLife/Objects/Clothes.cs
2024-01-07 16:53:47 +01:00
startLine: 526
2023-06-25 15:41:49 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Objects
syntax:
content: Neutral = 0
return:
type: TinyLife.Objects.StylePreference
- uid: TinyLife.Objects.StylePreference.Masculine
commentId: F:TinyLife.Objects.StylePreference.Masculine
id: Masculine
parent: TinyLife.Objects.StylePreference
langs:
- csharp
- vb
name: Masculine
nameWithType: StylePreference.Masculine
fullName: TinyLife.Objects.StylePreference.Masculine
type: Field
source:
remote:
path: TinyLife/Objects/Clothes.cs
2023-12-06 13:25:52 +01:00
branch: main
2023-06-25 15:41:49 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Masculine
path: ../TinyLife/Objects/Clothes.cs
2024-01-07 16:53:47 +01:00
startLine: 527
2023-06-25 15:41:49 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Objects
syntax:
content: Masculine = 1
return:
type: TinyLife.Objects.StylePreference
- uid: TinyLife.Objects.StylePreference.Feminine
commentId: F:TinyLife.Objects.StylePreference.Feminine
id: Feminine
parent: TinyLife.Objects.StylePreference
langs:
- csharp
- vb
name: Feminine
nameWithType: StylePreference.Feminine
fullName: TinyLife.Objects.StylePreference.Feminine
type: Field
source:
remote:
path: TinyLife/Objects/Clothes.cs
2023-12-06 13:25:52 +01:00
branch: main
2023-06-25 15:41:49 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Feminine
path: ../TinyLife/Objects/Clothes.cs
2024-01-07 16:53:47 +01:00
startLine: 528
2023-06-25 15:41:49 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Objects
syntax:
content: Feminine = 2
return:
type: TinyLife.Objects.StylePreference
references:
- uid: TinyLife.Objects.Clothes
commentId: T:TinyLife.Objects.Clothes
parent: TinyLife.Objects
2024-01-07 16:53:47 +01:00
href: TinyLife.Objects.Clothes.html
2023-06-25 15:41:49 +02:00
name: Clothes
nameWithType: Clothes
fullName: TinyLife.Objects.Clothes
- uid: TinyLife.Objects.StylePreference.Neutral
commentId: F:TinyLife.Objects.StylePreference.Neutral
2024-01-07 16:53:47 +01:00
href: TinyLife.Objects.StylePreference.html#TinyLife_Objects_StylePreference_Neutral
2023-06-25 15:41:49 +02:00
name: Neutral
nameWithType: StylePreference.Neutral
fullName: TinyLife.Objects.StylePreference.Neutral
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-06-25 15:41:49 +02:00
name: TinyLife.Objects
nameWithType: TinyLife.Objects
fullName: TinyLife.Objects
spec.csharp:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-06-25 15:41:49 +02:00
- name: .
- uid: TinyLife.Objects
name: Objects
2024-01-07 16:53:47 +01:00
href: TinyLife.Objects.html
2023-06-25 15:41:49 +02:00
spec.vb:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-06-25 15:41:49 +02:00
- name: .
- uid: TinyLife.Objects
name: Objects
2024-01-07 16:53:47 +01:00
href: TinyLife.Objects.html
2023-06-25 15:41:49 +02:00
- uid: TinyLife.Objects.StylePreference.TinyLife.Utilities.Extensions.JsonCopy``1
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
parent: TinyLife.Utilities.Extensions
definition: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-06-25 15:41:49 +02:00
name: JsonCopy<StylePreference>(StylePreference)
nameWithType: Extensions.JsonCopy<StylePreference>(StylePreference)
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.Objects.StylePreference>(TinyLife.Objects.StylePreference)
nameWithType.vb: Extensions.JsonCopy(Of StylePreference)(StylePreference)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Objects.StylePreference)(TinyLife.Objects.StylePreference)
name.vb: JsonCopy(Of StylePreference)(StylePreference)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Objects.StylePreference)
name: JsonCopy
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-06-25 15:41:49 +02:00
- name: <
- uid: TinyLife.Objects.StylePreference
name: StylePreference
2024-01-07 16:53:47 +01:00
href: TinyLife.Objects.StylePreference.html
2023-06-25 15:41:49 +02:00
- name: '>'
- name: (
- uid: TinyLife.Objects.StylePreference
name: StylePreference
2024-01-07 16:53:47 +01:00
href: TinyLife.Objects.StylePreference.html
2023-06-25 15:41:49 +02:00
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Objects.StylePreference)
name: JsonCopy
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-06-25 15:41:49 +02:00
- name: (
- name: Of
- name: " "
- uid: TinyLife.Objects.StylePreference
name: StylePreference
2024-01-07 16:53:47 +01:00
href: TinyLife.Objects.StylePreference.html
2023-06-25 15:41:49 +02:00
- name: )
- name: (
- uid: TinyLife.Objects.StylePreference
name: StylePreference
2024-01-07 16:53:47 +01:00
href: TinyLife.Objects.StylePreference.html
2023-06-25 15:41:49 +02:00
- name: )
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-06-25 15:41:49 +02:00
name: JsonCopy<T>(T)
nameWithType: Extensions.JsonCopy<T>(T)
fullName: TinyLife.Utilities.Extensions.JsonCopy<T>(T)
nameWithType.vb: Extensions.JsonCopy(Of T)(T)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of T)(T)
name.vb: JsonCopy(Of T)(T)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-06-25 15:41:49 +02:00
- name: <
- name: T
- name: '>'
- name: (
- name: T
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-06-25 15:41:49 +02:00
- name: (
- name: Of
- name: " "
- name: T
- name: )
- name: (
- name: T
- name: )
- uid: TinyLife.Utilities.Extensions
commentId: T:TinyLife.Utilities.Extensions
parent: TinyLife.Utilities
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html
2023-06-25 15:41:49 +02:00
name: Extensions
nameWithType: Extensions
fullName: TinyLife.Utilities.Extensions
- uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-06-25 15:41:49 +02:00
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities
spec.csharp:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-06-25 15:41:49 +02:00
- name: .
- uid: TinyLife.Utilities
name: Utilities
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.html
2023-06-25 15:41:49 +02:00
spec.vb:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-06-25 15:41:49 +02:00
- name: .
- uid: TinyLife.Utilities
name: Utilities
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.html
2023-06-25 15:41:49 +02:00
- uid: TinyLife.Objects.StylePreference
commentId: T:TinyLife.Objects.StylePreference
parent: TinyLife.Objects
2024-01-07 16:53:47 +01:00
href: TinyLife.Objects.StylePreference.html
2023-06-25 15:41:49 +02:00
name: StylePreference
nameWithType: StylePreference
fullName: TinyLife.Objects.StylePreference