TinyLifeWeb/docs/api/TinyLife.World.IPricedObject.yml

201 lines
6.2 KiB
YAML
Raw Normal View History

2021-08-04 06:51:12 +02:00
### 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
2023-03-30 18:07:55 +02:00
branch: main
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: IPricedObject
2022-03-09 16:13:05 +01:00
path: ../TinyLife/World/IPricedObject.cs
2022-01-01 17:06:03 +01:00
startLine: 9
2021-08-04 06:51:12 +02:00
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
2023-03-30 18:07:55 +02:00
branch: main
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: GetPrice
2022-03-09 16:13:05 +01:00
path: ../TinyLife/World/IPricedObject.cs
2022-01-01 17:06:03 +01:00
startLine: 16
2021-08-04 06:51:12 +02:00
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
2023-03-30 18:07:55 +02:00
content.vb: Function GetPrice() As Single
2021-08-04 06:51:12 +02:00
overload: TinyLife.World.IPricedObject.GetPrice*
references:
- uid: TinyLife.World
commentId: N:TinyLife.World
name: TinyLife.World
nameWithType: TinyLife.World
fullName: TinyLife.World
2023-03-30 18:07:55 +02:00
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.World
name: World
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.World
name: World
2021-08-04 06:51:12 +02:00
- 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)
2023-03-30 18:07:55 +02:00
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)
2021-08-04 06:51:12 +02:00
spec.csharp:
2023-03-30 18:07:55 +02:00
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.World.IPricedObject)
name: JsonCopy
- name: <
- uid: TinyLife.World.IPricedObject
name: IPricedObject
- name: '>'
2021-08-04 06:51:12 +02:00
- name: (
2023-03-30 18:07:55 +02:00
- uid: TinyLife.World.IPricedObject
name: IPricedObject
2021-08-04 06:51:12 +02:00
- name: )
spec.vb:
2023-03-30 18:07:55 +02:00
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.World.IPricedObject)
name: JsonCopy
2021-08-04 06:51:12 +02:00
- name: (
2023-03-30 18:07:55 +02:00
- name: Of
- name: " "
- uid: TinyLife.World.IPricedObject
name: IPricedObject
- name: )
- name: (
- uid: TinyLife.World.IPricedObject
name: IPricedObject
2021-08-04 06:51:12 +02:00
- 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)
2023-03-30 18:07:55 +02:00
name: JsonCopy
- name: <
- name: T
- name: '>'
2021-08-04 06:51:12 +02:00
- name: (
- name: T
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
2023-03-30 18:07:55 +02:00
name: JsonCopy
- name: (
- name: Of
- name: " "
- name: T
- name: )
2021-08-04 06:51:12 +02:00
- 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
2023-03-30 18:07:55 +02:00
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Utilities
name: Utilities
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Utilities
name: Utilities
2021-08-04 06:51:12 +02:00
- 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
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.single
name: float
nameWithType: float
fullName: float
nameWithType.vb: Single
fullName.vb: Single
name.vb: Single
2021-08-04 06:51:12 +02:00
- uid: System
commentId: N:System
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system
2021-08-04 06:51:12 +02:00
name: System
nameWithType: System
fullName: System