local BuildSimpleDiscItem = class("BuildSimpleDiscItem", BaseCtrl)
BuildSimpleDiscItem._mapNodeConfig = {
	imgIcon = {sComponentName = "Image"},
	imgRarity = {sComponentName = "Image"},
	imgElement = {sComponentName = "Image"}
}
BuildSimpleDiscItem._mapEventConfig = {}
BuildSimpleDiscItem._mapRedDotConfig = {}
function BuildSimpleDiscItem:Init(nDiscId)
	local mapData = PlayerData.Disc:GetDiscById(nDiscId)
	local mapCfg = ConfigTable.GetData_Item(nDiscId)
	self:SetPngSprite(self._mapNode.imgIcon, mapCfg.Icon .. AllEnum.OutfitIconSurfix.ListGrid)
	local sFrame = AllEnum.FrameType_New.BoardFrame .. AllEnum.BoardFrameColor[mapCfg.Rarity]
	self:SetAtlasSprite(self._mapNode.imgRarity, "12_rare", sFrame, true)
	self:SetAtlasSprite(self._mapNode.imgElement, "12_rare", AllEnum.Star_Element[mapData.nEET].icon)
end
return BuildSimpleDiscItem
