UIAtlasConfig = {};

-- 新增示例： [2] = "GUI/atlas/preferb/Item_2",
UIAtlasConfig.IconAtlas = {
	-- 道具
	Item = {
		[1] = "GUI/atlas/preferb/Item_1",
		[2] = "GUI/atlas/preferb/Item_2",
		[3] = "GUI/atlas/preferb/hairStyle_1",
		[4] = "GUI/atlas/preferb/Item_3",
		[5] = "GUI/atlas/preferb/Item_4",
		[6] = "GUI/atlas/preferb/Item_5",
		[7] = "GUI/atlas/preferb/Item_6",
		[8] = "GUI/atlas/preferb/Item_7",
		[9] = "GUI/atlas/preferb/Item_8",
		[10] = "GUI/atlas/preferb/Item_9",
		[11] = "GUI/atlas/preferb/Item_11",
		[12] = "GUI/atlas/preferb/Item_12",
		[13] = "GUI/atlas/preferb/Item_13",
		[14] = "GUI/atlas/preferb/Item_14",

	},

	-- 初心者職業技能
	SkillProfess_0 = {
		[1] = "GUI/atlas/preferb/Skill_1",
		[2] = "GUI/atlas/preferb/Skill_2",
		[3] = "GUI/atlas/preferb/Skill_buff",
	},
	-- 戰士職業技能
	SkillProfess_1 = {
		[1] = "GUI/atlas/preferb/Skill_1",
		[2] = "GUI/atlas/preferb/Skill_2",
		[3] = "GUI/atlas/preferb/Skill_buff",
		[4] = "GUI/atlas/preferb/Skill_zs",
		[5] = "GUI/atlas/preferb/Skill_szj",
	},
	-- 法師職業技能
	SkillProfess_2 = {
		[1] = "GUI/atlas/preferb/Skill_1",
		[2] = "GUI/atlas/preferb/Skill_2",
		[3] = "GUI/atlas/preferb/Skill_buff",
		[4] = "GUI/atlas/preferb/Skill_fs",
		[5] = "GUI/atlas/preferb/Skill_xz",
	},
	-- 盜賊職業技能
	SkillProfess_3 = {
		[1] = "GUI/atlas/preferb/Skill_1",
		[2] = "GUI/atlas/preferb/Skill_2",
		[3] = "GUI/atlas/preferb/Skill_buff",
		[4] = "GUI/atlas/preferb/Skill_dz",
	},
	-- 獵人職業技能
	SkillProfess_4 = {
		[1] = "GUI/atlas/preferb/Skill_1",
		[2] = "GUI/atlas/preferb/Skill_2",
		[3] = "GUI/atlas/preferb/Skill_buff",
		[4] = "GUI/atlas/preferb/Skill_lr",
		[5] = "GUI/atlas/preferb/Skill_srwn",
	},
	-- 牧師職業技能職業技能
	SkillProfess_5 = {
		[1] = "GUI/atlas/preferb/Skill_1",
		[2] = "GUI/atlas/preferb/Skill_2",
		[3] = "GUI/atlas/preferb/Skill_buff",
		[4] = "GUI/atlas/preferb/Skill_ms",
		[5] = "GUI/atlas/preferb/Skill_ws",
	},
	-- 商人職業技能職業技能
	SkillProfess_6 = {
		[1] = "GUI/atlas/preferb/Skill_1",
		[2] = "GUI/atlas/preferb/Skill_2",
		[3] = "GUI/atlas/preferb/Skill_buff",
		[4] = "GUI/atlas/preferb/Skill_sr",
	},
	-- 鍊金師職業技能職業技能
	SkillProfess_7 = {
		[1] = "GUI/atlas/preferb/Skill_1",
		[2] = "GUI/atlas/preferb/Skill_2",
		[3] = "GUI/atlas/preferb/Skill_buff",
		[4] = "GUI/atlas/preferb/Skill_ljss",
	},
	-- 流氓職業技能職業技能
	SkillProfess_8 = {
		[1] = "GUI/atlas/preferb/Skill_1",
		[2] = "GUI/atlas/preferb/Skill_2",
		[3] = "GUI/atlas/preferb/Skill_buff",
		[4] = "GUI/atlas/preferb/Skill_lm",
	},
	-- 動作
	Action = {
		[1] = "GUI/atlas/preferb/action",
	},
	-- 小地圖圖示
	Map = {
		[1] = "GUI/atlas/preferb/Map_1",
	},
	-- 職業
	career = {
		[1] = "GUI/atlas/preferb/career",
	},
	-- 頭像
	face = {
		[1] = "GUI/atlas/preferb/face_1",
		[2] = "GUI/atlas/preferb/face_2",
		[3] = "GUI/atlas/preferb/face_3",
                [4] = "GUI/atlas/preferb/face_4",
                [5] = "GUI/atlas/preferb/face_5",
                [6] = "GUI/atlas/preferb/face_6",
				[7] = "GUI/atlas/preferb/face_7",
				[8] = "GUI/atlas/preferb/face_8",
	},
	-- 頭像頭飾前
	HeadAccessoryFront = {
		[1] = "GUI/atlas/preferb/Assesories_Front_1",
		[2] = "GUI/atlas/preferb/Assesories_Front_2",
	},
	-- 頭像頭飾后
	HeadAccessoryBack = {
		[1] = "GUI/atlas/preferb/Assesories_Back_1",
	},
	-- 頭像臉和嘴
	HeadFaceMouth = {
		[1] = "GUI/atlas/preferb/Aface_1",
	},
	-- 關鍵字
	keyword = {
		[1] = "GUI/atlas/preferb/keyword",
	},
	-- 頭髮 髮型
	hairStyle = {
		[1] = "GUI/atlas/preferb/hairStyle_1",
	},
	-- 公會
	guild = {
		[1] = "GUI/atlas/preferb/guild",
	},
	-- ui用 如揹包圖示等等
	uiicon = {
		[1] = "GUI/atlas/preferb/v2_icon",
		[2] = "GUI/atlas/preferb/v1_icon",
		[3] = "GUI/atlas/preferb/UI1",
		[4] = "GUI/atlas/preferb/UI2",
		[5] = "GUI/atlas/preferb/UI3",
		[6] = "GUI/atlas/preferb/UI4",
		[7] = "GUI/atlas/preferb/NewUI5",
		[8] = "GUI/atlas/preferb/Item_11",
		[9] = "GUI/atlas/preferb/v3_icon",
		[10] = "GUI/atlas/preferb/Item_12",
		[11] = "GUI/atlas/preferb/Item_13",
		[12] = "GUI/atlas/preferb/Item_14",
		
	},
	-- 美瞳ui
	HeadEye = {
		[1] = "GUI/atlas/preferb/eye_1",
	},
	-- 充值檔點陣圖案
	ZenyShopItem = {
		[1] = "GUI/atlas/preferb/ZenyShopItem",
	},
}

--skill技能圖示全讀取處
local Skills = {}
local tmp = {}

UIAtlasConfig.IconAtlas.Skill = Skills

for k,v in pairs(UIAtlasConfig.IconAtlas) do
	if(string.find(k,"SkillProfess")~=nil) then
		for i=1,#v do
			if(tmp[v[i]]==nil) then
				tmp[v[i]] = 1
				Skills[#Skills+1] = v[i]
			end
		end
	end
end