TinyLifeWeb/docs/api/TinyLife.World.IPricedObject.yml
2023-03-30 18:07:55 +02:00

201 lines
6.2 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: TinyLife.World.IPricedObject
commentId: T:TinyLife.World.IPricedObject
id: IPricedObject
parent: TinyLife.World
children:
- TinyLife.World.IPricedObject.GetPrice
langs:
- csharp
- vb
name: IPricedObject
nameWithType: IPricedObject
fullName: TinyLife.World.IPricedObject
type: Interface
source:
remote:
path: TinyLife/World/IPricedObject.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IPricedObject
path: ../TinyLife/World/IPricedObject.cs
startLine: 9
assemblies:
- Tiny Life
namespace: TinyLife.World
summary: "\nA priced object is an object that has a floating point price value attached to it.\nIn the world of Tiny Life, prices are written as "tiny bucks", but they don't necessarily resemble the prices of the American dollar.\n"
example: []
syntax:
content: public interface IPricedObject
content.vb: Public Interface IPricedObject
extensionMethods:
- TinyLife.World.IPricedObject.TinyLife.Utilities.Extensions.JsonCopy``1
- uid: TinyLife.World.IPricedObject.GetPrice
commentId: M:TinyLife.World.IPricedObject.GetPrice
id: GetPrice
parent: TinyLife.World.IPricedObject
langs:
- csharp
- vb
name: GetPrice()
nameWithType: IPricedObject.GetPrice()
fullName: TinyLife.World.IPricedObject.GetPrice()
type: Method
source:
remote:
path: TinyLife/World/IPricedObject.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPrice
path: ../TinyLife/World/IPricedObject.cs
startLine: 16
assemblies:
- Tiny Life
namespace: TinyLife.World
summary: "\nReturns the price that this object can be bought or sold for.\nNote that, like in the case of the <xref href=\"TinyLife.Objects.Painting\" data-throw-if-not-resolved=\"false\"></xref>, the returned price isn&apos;t necessarily the full price that the object can be sold for. Instead, the price returned here should be the price that this object has when bought or sold from the <xref href=\"TinyLife.Tools.FurnitureTool\" data-throw-if-not-resolved=\"false\"></xref> or similar.\n"
example: []
syntax:
content: float GetPrice()
return:
type: System.Single
description: The object&apos;s price
content.vb: Function GetPrice() As Single
overload: TinyLife.World.IPricedObject.GetPrice*
references:
- uid: TinyLife.World
commentId: N:TinyLife.World
name: TinyLife.World
nameWithType: TinyLife.World
fullName: TinyLife.World
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.World
name: World
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.World
name: World
- uid: TinyLife.World.IPricedObject.TinyLife.Utilities.Extensions.JsonCopy``1
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
parent: TinyLife.Utilities.Extensions
definition: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy<IPricedObject>(IPricedObject)
nameWithType: Extensions.JsonCopy<IPricedObject>(IPricedObject)
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.World.IPricedObject>(TinyLife.World.IPricedObject)
nameWithType.vb: Extensions.JsonCopy(Of IPricedObject)(IPricedObject)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.World.IPricedObject)(TinyLife.World.IPricedObject)
name.vb: JsonCopy(Of IPricedObject)(IPricedObject)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.World.IPricedObject)
name: JsonCopy
- name: <
- uid: TinyLife.World.IPricedObject
name: IPricedObject
- name: '>'
- name: (
- uid: TinyLife.World.IPricedObject
name: IPricedObject
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.World.IPricedObject)
name: JsonCopy
- name: (
- name: Of
- name: " "
- uid: TinyLife.World.IPricedObject
name: IPricedObject
- name: )
- name: (
- uid: TinyLife.World.IPricedObject
name: IPricedObject
- name: )
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy<T>(T)
nameWithType: Extensions.JsonCopy<T>(T)
fullName: TinyLife.Utilities.Extensions.JsonCopy<T>(T)
nameWithType.vb: Extensions.JsonCopy(Of T)(T)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of T)(T)
name.vb: JsonCopy(Of T)(T)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
- name: <
- name: T
- name: '>'
- name: (
- name: T
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
- name: (
- name: Of
- name: " "
- name: T
- name: )
- name: (
- name: T
- name: )
- uid: TinyLife.Utilities.Extensions
commentId: T:TinyLife.Utilities.Extensions
parent: TinyLife.Utilities
name: Extensions
nameWithType: Extensions
fullName: TinyLife.Utilities.Extensions
- uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Utilities
name: Utilities
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Utilities
name: Utilities
- uid: TinyLife.Objects.Painting
commentId: T:TinyLife.Objects.Painting
name: Painting
nameWithType: Painting
fullName: TinyLife.Objects.Painting
- uid: TinyLife.Tools.FurnitureTool
commentId: T:TinyLife.Tools.FurnitureTool
name: FurnitureTool
nameWithType: FurnitureTool
fullName: TinyLife.Tools.FurnitureTool
- uid: TinyLife.World.IPricedObject.GetPrice*
commentId: Overload:TinyLife.World.IPricedObject.GetPrice
name: GetPrice
nameWithType: IPricedObject.GetPrice
fullName: TinyLife.World.IPricedObject.GetPrice
- uid: System.Single
commentId: T:System.Single
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
name: float
nameWithType: float
fullName: float
nameWithType.vb: Single
fullName.vb: Single
name.vb: Single
- uid: System
commentId: N:System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
name: System
nameWithType: System
fullName: System