PanelProxy = class('PanelProxy', pm.Proxy)

PanelProxy.Instance = nil;

PanelProxy.NAME = "PanelProxy"

--玩家揹包數據管理

function PanelProxy:ctor(proxyName, data)
	self.proxyName = proxyName or PanelProxy.NAME
	if(PanelProxy.Instance == nil) then
		PanelProxy.Instance = self
	end
	self:Parse()
end

function PanelProxy:Parse()
	self.panelMap = {}
	for k,v in pairs(PanelConfig) do
		self.panelMap[v.id] = v
	end
end

function PanelProxy:GetData(id)
	return self.panelMap[id]
end