Class PurchaseData
Inheritance
System.Object
PurchaseData
Assembly: Eco.Gameplay.dll
Syntax
public class PurchaseData : Object
Constructors
PurchaseData()
Declaration
Fields
BuyerIncome
Declaration
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
Field Value
IsBarter
Declaration
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
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
Extension Methods