Files
Dota-Zombie-Invasion/scripts/vscripts/store_item_access.lua
T
2026-05-29 15:11:31 +07:00

18 lines
1.0 KiB
Lua

--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
local ____exports = {}
____exports.STORE_ITEM_ACCESS_BY_ID = {
skin_effect_fire = {purchaseDisabled = true, onlyVisibleIfOwned = true},
skin_effect_ice = {purchaseDisabled = true, onlyVisibleIfOwned = true},
skin_effect_bp_red = {purchaseDisabled = true, onlyVisibleIfOwned = true},
skin_effect_bp_garden = {purchaseDisabled = true, onlyVisibleIfOwned = true},
skin_effect_bp_golden = {purchaseDisabled = true, onlyVisibleIfOwned = true},
skin_effect_bp_diretide_emblem = {purchaseDisabled = true, onlyVisibleIfOwned = true},
skin_effect_bp_diretide_emblem_v1 = {purchaseDisabled = true, onlyVisibleIfOwned = true},
skin_effect_bp_diretide_emblem_v3 = {purchaseDisabled = true, onlyVisibleIfOwned = true}
}
function ____exports.isStorePurchaseBlockedById(self, itemId)
local ____opt_0 = ____exports.STORE_ITEM_ACCESS_BY_ID[itemId]
return (____opt_0 and ____opt_0.purchaseDisabled) == true
end
return ____exports