TinyLifeWeb/docs/api/TinyLife.Objects.StylePreference.yml
2024-06-09 17:05:30 +02:00

262 lines
8.3 KiB
YAML
Generated

### 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
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StylePreference
path: ../TinyLife/Objects/Clothes.cs
startLine: 531
assemblies:
- Tiny Life
namespace: TinyLife.Objects
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.
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
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Neutral
path: ../TinyLife/Objects/Clothes.cs
startLine: 534
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
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Masculine
path: ../TinyLife/Objects/Clothes.cs
startLine: 535
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
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Feminine
path: ../TinyLife/Objects/Clothes.cs
startLine: 536
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
href: TinyLife.Objects.Clothes.html
name: Clothes
nameWithType: Clothes
fullName: TinyLife.Objects.Clothes
- uid: TinyLife.Objects.StylePreference.Neutral
commentId: F:TinyLife.Objects.StylePreference.Neutral
href: TinyLife.Objects.StylePreference.html#TinyLife_Objects_StylePreference_Neutral
name: Neutral
nameWithType: StylePreference.Neutral
fullName: TinyLife.Objects.StylePreference.Neutral
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
href: TinyLife.html
name: TinyLife.Objects
nameWithType: TinyLife.Objects
fullName: TinyLife.Objects
spec.csharp:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Objects
name: Objects
href: TinyLife.Objects.html
spec.vb:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Objects
name: Objects
href: TinyLife.Objects.html
- 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)
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
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
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: <
- uid: TinyLife.Objects.StylePreference
name: StylePreference
href: TinyLife.Objects.StylePreference.html
- name: '>'
- name: (
- uid: TinyLife.Objects.StylePreference
name: StylePreference
href: TinyLife.Objects.StylePreference.html
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Objects.StylePreference)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: (
- name: Of
- name: " "
- uid: TinyLife.Objects.StylePreference
name: StylePreference
href: TinyLife.Objects.StylePreference.html
- name: )
- name: (
- uid: TinyLife.Objects.StylePreference
name: StylePreference
href: TinyLife.Objects.StylePreference.html
- name: )
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
name: JsonCopy<T>(T)
nameWithType: Extensions.JsonCopy<T>(T)
fullName: TinyLife.Utilities.Extensions.JsonCopy<T>(T)
nameWithType.vb: Extensions.JsonCopy(Of T)(T)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of T)(T)
name.vb: JsonCopy(Of T)(T)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: <
- name: T
- name: '>'
- name: (
- name: T
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: (
- name: Of
- name: " "
- name: T
- name: )
- name: (
- name: T
- name: )
- uid: TinyLife.Utilities.Extensions
commentId: T:TinyLife.Utilities.Extensions
parent: TinyLife.Utilities
href: TinyLife.Utilities.Extensions.html
name: Extensions
nameWithType: Extensions
fullName: TinyLife.Utilities.Extensions
- uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities
href: TinyLife.html
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities
spec.csharp:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Utilities
name: Utilities
href: TinyLife.Utilities.html
spec.vb:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Utilities
name: Utilities
href: TinyLife.Utilities.html
- uid: TinyLife.Objects.StylePreference
commentId: T:TinyLife.Objects.StylePreference
parent: TinyLife.Objects
href: TinyLife.Objects.StylePreference.html
name: StylePreference
nameWithType: StylePreference
fullName: TinyLife.Objects.StylePreference