local d=(game:GetService("\080\108\097\121\101\114\115")).LocalPlayer.PlayerGui.AvatarEditorInGame.Modules local Q=require(d.NotLApp.MockId)local t=require(d.AvatarExperience.AvatarEditor.Constants)local H={}function H.new()local d={}return d end function H.mock()local d=H.new()local j=194 d.outfitId=Q()d.name=""d.assets={}d.bodyColors={HeadColor=j,LeftArmColor=j;LeftLegColor=j;RightArmColor=j;RightLegColor=j,TorsoColor=j}d.scales={height=0,width=0;head=0,depth=0;proportion=0;bodyType=0}d.avatarType=t.AvatarType.R15 d.isEditable=true return d end function H.fromWebApi(d,Q,t,j,X,y,r)local p=H.new()p.outfitId=d p.name=Q p.assets=t p.bodyColors=j p.scales=X p.avatarType=y p.isEditable=r return p end function H.fakeLCOutfit(d)local Q=H.new()Q.isLayeredClothing=true Q.outfitId=d Q.name=d Q.isEditable=false return Q end return H

local Modules = game:GetService("Players").LocalPlayer.PlayerGui.AvatarEditorInGame.Modules
local MockId = require(Modules.NotLApp.MockId)
local Constants = require(Modules.AvatarExperience.AvatarEditor.Constants)

local AEOutfitInfo = {}

function AEOutfitInfo.new()
	local self = {}

	return self
end

function AEOutfitInfo.mock()
	local self = AEOutfitInfo.new()
	local MEDIUM_STONE_GREY = 194

	self.outfitId = MockId()
	self.name = ""
	self.assets = {}
	self.bodyColors = {
		HeadColor = MEDIUM_STONE_GREY,
		LeftArmColor = MEDIUM_STONE_GREY,
		LeftLegColor = MEDIUM_STONE_GREY,
		RightArmColor = MEDIUM_STONE_GREY,
		RightLegColor = MEDIUM_STONE_GREY,
		TorsoColor = MEDIUM_STONE_GREY,
	}

	self.scales = {
		height = 0,
		width = 0,
		head = 0,
		depth = 0,
		proportion = 0,
		bodyType = 0,
	}

	self.avatarType = Constants.AvatarType.R15

	self.isEditable = true

	return self
end

function AEOutfitInfo.fromWebApi(outfitId, name, assets, bodyColors, scales, avatarType, isEditable)
	local self = AEOutfitInfo.new()

	self.outfitId = outfitId
	self.name = name
	self.assets = assets
	self.bodyColors = bodyColors
	self.scales = scales
	self.avatarType = avatarType
	self.isEditable = isEditable

	return self
end

function AEOutfitInfo.fakeLCOutfit(outfitId)
	local self = AEOutfitInfo.new()

	self.isLayeredClothing = true
	self.outfitId = outfitId
	self.name = outfitId
	self.isEditable = false

	return self
end

return AEOutfitInfo
