Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
469
game_market Sell State #97
This allows you to see the state of your auctions from the in-game market.
File: market.lua | 407b | 15 lines.
local state = offer:getState()
local offerTypeName = "?"
if offerType == MarketAction.Buy then
    offerTypeName = "Buy"
elseif offerType == MarketAction.Sell then
    if state == 1 then
        offerTypeName = "Cancelled"
    elseif state == 2 then
        offerTypeName = "Expired"
    elseif state == 3 then
        offerTypeName = "Sold"
    else
        offerTypeName = "Sell"
    end
end

17 May 2022