Show / Hide Table of Contents

Class PurchaseData

Inheritance
System.Object
PurchaseData
Namespace: Eco.Gameplay.Components.Store.Internal
Assembly: Eco.Gameplay.dll
Syntax
public class PurchaseData : Object

Constructors

PurchaseData()

Declaration
public PurchaseData()

Fields

BuyerIncome

Declaration
public float BuyerIncome
Field Value
Type Description
System.Single

Buying

Declaration
public Dictionary<TradeOffer, int> Buying
Field Value
Type Description
System.Collections.Generic.Dictionary<TradeOffer, System.Int32>

Customer

Declaration
public User Customer
Field Value
Type Description
User

IsBarter

Declaration
public bool IsBarter
Field Value
Type Description
System.Boolean

SellerIncome

Declaration
public float SellerIncome
Field Value
Type Description
System.Single

Selling

Declaration
public Dictionary<TradeOffer, int> Selling
Field Value
Type Description
System.Collections.Generic.Dictionary<TradeOffer, System.Int32>

Tax

Declaration
public float Tax
Field Value
Type Description
System.Single

Properties

BuyDesc

Declaration
public string BuyDesc { get; }
Property Value
Type Description
System.String

PaymentDiff

Declaration
public float PaymentDiff { get; }
Property Value
Type Description
System.Single

SellDesc

Declaration
public string SellDesc { get; }
Property Value
Type Description
System.String

Methods

TradeDesc(Boolean)

Declaration
public LocString TradeDesc(bool describeToTradeInit = false)
Parameters
Type Name Description
System.Boolean describeToTradeInit

Will you describe the trade to the player who initialized the trade?

Returns
Type Description
LocString

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾