game_market Sell State
#97
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
- remove | + add
17 May 2022