Method | Description | |
---|---|---|
CheckTradeTimeouts ( ) : void | ||
CreateSellOrder ( ulong sellerId, string goodsTypeId, string goodsSubtypeName, decimal quantity, decimal price ) : void | ||
CreateStockHeld ( ulong sellerId, string goodsTypeId, string goodsSubtypeName, decimal quantity, decimal price ) : void | ||
CreateTradeOffer ( ulong sellerId, string goodsTypeId, string goodsSubtypeName, decimal quantity, decimal price, ulong targetPlayer ) : void | ||
FindClosestPlayerMarket ( IMyPlayer player, bool isOpen = null ) : |
Finds the closest player owned market of the specified open state.
|
|
FindMarketsFromLocation ( Vector3D position ) : List |
Finds all available markets that are within range that can be traded with.
|
|
FindMarketsFromName ( string marketname ) : List |
Find a market of the specified name, trying exact match first, then case insensative, then partial string.
|
|
IsItemBlacklistedOnServer ( string itemTypeId, string itemSubTypeName ) : bool | ||
SyncMarketItems ( List |
Check that all current Definitions are in the EconContentStruct.
|
public static CreateSellOrder ( ulong sellerId, string goodsTypeId, string goodsSubtypeName, decimal quantity, decimal price ) : void | ||
sellerId | ulong | |
goodsTypeId | string | |
goodsSubtypeName | string | |
quantity | decimal | |
price | decimal | |
return | void |
public static CreateStockHeld ( ulong sellerId, string goodsTypeId, string goodsSubtypeName, decimal quantity, decimal price ) : void | ||
sellerId | ulong | |
goodsTypeId | string | |
goodsSubtypeName | string | |
quantity | decimal | |
price | decimal | |
return | void |
public static CreateTradeOffer ( ulong sellerId, string goodsTypeId, string goodsSubtypeName, decimal quantity, decimal price, ulong targetPlayer ) : void | ||
sellerId | ulong | |
goodsTypeId | string | |
goodsSubtypeName | string | |
quantity | decimal | |
price | decimal | |
targetPlayer | ulong | |
return | void |
public static FindClosestPlayerMarket ( IMyPlayer player, bool isOpen = null ) : |
||
player | IMyPlayer | |
isOpen | bool | |
return |
public static FindMarketsFromLocation ( Vector3D position ) : List |
||
position | Vector3D | |
return | List |
public static FindMarketsFromName ( string marketname ) : List |
||
marketname | string | |
return | List |
public static IsItemBlacklistedOnServer ( string itemTypeId, string itemSubTypeName ) : bool | ||
itemTypeId | string | |
itemSubTypeName | string | |
return | bool |
public static SyncMarketItems ( List |
||
marketItems | List |
|
return | void |