Assembly: VRage.Game.dll

public struct MyStoreItemData

Implements Store Item Data

Properties

Member Description
Amount Gets amount for buy/sell
GasTanks Gas Tanks entity IDs, when store item is for selling gas
ItemId Gets definition id of the item
OnCancel When owner of store block cancels order/offer regarding this item
OnTransaction When player makes an transaction regarding this item int - amount sold int - amount remaining int - price of transaction long - owner of block long - buyer/seller
PricePerUnit Gets price per unit

Constructors

Member Description
MyStoreItemData(SerializableDefinitionId, int, int, List, Action<int, int, long, long, long>, Action)