local X={}X.Category={}X.Category.Featured=0 X.Category.All=1 X.Category.Collectibles=2 X.Category.Clothing=3 X.Category.BodyParts=4 X.Category.Gear=5 X.Category.Accessories=11 X.Category.AvatarAnimations=12 X.Category.CommunityCreations=13 X.CreatorType={}X.CreatorType.User=1 X.CreatorType.Group=2 X.Genres={}X.Genres.TownAndCity=1 X.Genres.Medieval=2 X.Genres.SciFi=3 X.Genres.Fighting=4 X.Genres.Horror=5 X.Genres.Naval=6 X.Genres.Adventure=7 X.Genres.Sports=8 X.Genres.Comedy=9 X.Genres.Western=10 X.Genres.Military=11 X.Genres.Building=13 X.Genres.FPS=14 X.Genres.RPG=15 X.SortAggregation={}X.SortAggregation.PastDay=1 X.SortAggregation.PastWeek=3 X.SortAggregation.PastMonth=4 X.SortAggregation.AllTime=5 X.SortType={}X.SortType.Relevance=0 X.SortType.Favorited=1 X.SortType.Sales=2 X.SortType.Updated=3 X.SortType.PriceAsc=4 X.SortType.PriceDesc=5 X.Subcategory={}X.Subcategory.Featured=0 X.Subcategory.All=1 X.Subcategory.Collectibles=2 X.Subcategory.Clothing=3 X.Subcategory.BodyParts=4 X.Subcategory.Gear=5 X.Subcategory.Hats=9 X.Subcategory.Faces=10 X.Subcategory.Shirts=12 X.Subcategory.TShirts=13 X.Subcategory.Pants=14 X.Subcategory.Heads=15 X.Subcategory.Accessories=19 X.Subcategory.HairAccessories=20 X.Subcategory.FaceAccessories=21 X.Subcategory.NeckAccessories=22 X.Subcategory.ShoulderAccessories=23 X.Subcategory.FrontAccessories=24 X.Subcategory.BackAccessories=25 X.Subcategory.WaistAccessories=26 X.Subcategory.AvatarAnimations=27 X.Subcategory.Bundles=37 X.Subcategory.AnimationBundles=38 X.Subcategory.EmoteAnimations=39 X.Subcategory.CommunityCreations=40 X.Subcategory.Melee=41 X.Subcategory.Ranged=42 X.Subcategory.Explosive=43 X.Subcategory.PowerUp=44 X.Subcategory.Navigation=45 X.Subcategory.Musical=46 X.Subcategory.Social=47 X.Subcategory.Building=48 X.Subcategory.Transport=49 X.AssetType={}X.AssetType.None=0 X.AssetType["\084-\083\104\105\114\116"]=2 X.AssetType.Hat=8 X.AssetType.Shirt=11 X.AssetType.Pants=12 X.AssetType.Head=17 X.AssetType.Face=18 X.AssetType.Gear=19 X.AssetType.Arms=25 X.AssetType.Legs=26 X.AssetType.Torso=27 X.AssetType.RightArm=28 X.AssetType.LeftArm=29 X.AssetType.LeftLeg=30 X.AssetType.RightLeg=31 X.AssetType.HairAccessory=41 X.AssetType.FaceAccessory=42 X.AssetType.NeckAccessory=43 X.AssetType.ShoulderAccessory=44 X.AssetType.FrontAccessory=45 X.AssetType.BackAccessory=46 X.AssetType.WaistAccessory=47 X.AssetType.ClimbAnimation=48 X.AssetType.DeathAnimation=49 X.AssetType.FallAnimation=50 X.AssetType.IdleAnimation=51 X.AssetType.JumpAnimation=52 X.AssetType.RunAnimation=53 X.AssetType.SwimAnimation=54 X.AssetType.WalkAnimation=55 X.AssetType.PoseAnimation=56 X.AssetType.EmoteAnimation=61 function X.GetOptionName(Y,w)for X,Y in pairs(X[Y])do if Y==w then return X end end end return X
local module = {}

module.Category = {}
module.Category.Featured = 0
module.Category.All = 1
module.Category.Collectibles = 2
module.Category.Clothing = 3
module.Category.BodyParts = 4
module.Category.Gear = 5
module.Category.Accessories = 11
module.Category.AvatarAnimations = 12
module.Category.CommunityCreations = 13


module.CreatorType = {}
module.CreatorType.User = 1
module.CreatorType.Group = 2


module.Genres = {}
module.Genres.TownAndCity = 1
module.Genres.Medieval = 2
module.Genres.SciFi = 3
module.Genres.Fighting = 4
module.Genres.Horror = 5
module.Genres.Naval = 6
module.Genres.Adventure = 7
module.Genres.Sports = 8
module.Genres.Comedy = 9
module.Genres.Western = 10
module.Genres.Military = 11
-- 12
module.Genres.Building = 13
module.Genres.FPS = 14
module.Genres.RPG = 15


module.SortAggregation = {}
module.SortAggregation.PastDay = 1
-- 2
module.SortAggregation.PastWeek = 3
module.SortAggregation.PastMonth = 4
module.SortAggregation.AllTime = 5


module.SortType = {}
module.SortType.Relevance = 0
module.SortType.Favorited = 1
module.SortType.Sales = 2
module.SortType.Updated = 3
module.SortType.PriceAsc = 4
module.SortType.PriceDesc = 5


module.Subcategory = {}
module.Subcategory.Featured = 0
module.Subcategory.All = 1
module.Subcategory.Collectibles = 2
module.Subcategory.Clothing = 3
module.Subcategory.BodyParts = 4
module.Subcategory.Gear = 5
-- 6-8
module.Subcategory.Hats = 9
module.Subcategory.Faces = 10
module.Subcategory.Shirts = 12
module.Subcategory.TShirts = 13
module.Subcategory.Pants = 14
module.Subcategory.Heads = 15
-- 16-18
module.Subcategory.Accessories = 19
module.Subcategory.HairAccessories = 20
module.Subcategory.FaceAccessories = 21
module.Subcategory.NeckAccessories = 22
module.Subcategory.ShoulderAccessories = 23
module.Subcategory.FrontAccessories = 24
module.Subcategory.BackAccessories = 25
module.Subcategory.WaistAccessories = 26
module.Subcategory.AvatarAnimations = 27
-- 28-36
module.Subcategory.Bundles = 37
module.Subcategory.AnimationBundles = 38
module.Subcategory.EmoteAnimations = 39
module.Subcategory.CommunityCreations = 40
module.Subcategory.Melee = 41
module.Subcategory.Ranged = 42
module.Subcategory.Explosive = 43
module.Subcategory.PowerUp = 44
module.Subcategory.Navigation = 45
module.Subcategory.Musical = 46
module.Subcategory.Social = 47
module.Subcategory.Building = 48
module.Subcategory.Transport = 49


module.AssetType = {}
module.AssetType.None = 0

module.AssetType["T-Shirt"] = 2
module.AssetType.Hat = 8
module.AssetType.Shirt = 11
module.AssetType.Pants = 12
module.AssetType.Head = 17
module.AssetType.Face = 18
module.AssetType.Gear = 19
module.AssetType.Arms = 25
module.AssetType.Legs = 26
module.AssetType.Torso = 27
module.AssetType.RightArm = 28
module.AssetType.LeftArm = 29
module.AssetType.LeftLeg = 30
module.AssetType.RightLeg = 31
module.AssetType.HairAccessory = 41
module.AssetType.FaceAccessory = 42
module.AssetType.NeckAccessory = 43
module.AssetType.ShoulderAccessory = 44
module.AssetType.FrontAccessory = 45
module.AssetType.BackAccessory = 46
module.AssetType.WaistAccessory = 47
module.AssetType.ClimbAnimation = 48
module.AssetType.DeathAnimation = 49
module.AssetType.FallAnimation = 50
module.AssetType.IdleAnimation = 51
module.AssetType.JumpAnimation = 52
module.AssetType.RunAnimation = 53
module.AssetType.SwimAnimation = 54
module.AssetType.WalkAnimation = 55
module.AssetType.PoseAnimation = 56
module.AssetType.EmoteAnimation = 61


function module.GetOptionName(section, value)
	for k, v in pairs(module[section]) do
		if v == value then
			return k
		end
	end
end


return module