RB_FZTypeFLS = { --Chi = 1, -- Peng = 2, -- Pao = 3, -- Ti = 4, --zhao = 5, -- HU = 6, Chi = 1, Peng = 2, Gang=3, SGang=4, Zhao=5, SZhao=6, HU = 7, } local FZTipList = { tip_map_id = nil, tip_map_type = nil } local M = FZTipList function M.new() local self = {} setmetatable(self,{__index = FZTipList}) self.tip_map_id = {} self.tip_map_type = {} return self end function M:AddTip(tip) self.tip_map_id[tip.id] = tip local tiplist = self.tip_map_type[tip.weight] if not tiplist then tiplist = {} self.tip_map_type[tip.weight] = tiplist end tiplist[#tiplist+1] = tip end return M