30 lines
943 B
Plaintext
30 lines
943 B
Plaintext
autoImport('ServiceSceneTipAutoProxy')
|
|
ServiceSceneTipProxy = class('ServiceSceneTipProxy', ServiceSceneTipAutoProxy)
|
|
ServiceSceneTipProxy.Instance = nil
|
|
ServiceSceneTipProxy.NAME = 'ServiceSceneTipProxy'
|
|
|
|
function ServiceSceneTipProxy:ctor(proxyName)
|
|
if ServiceSceneTipProxy.Instance == nil then
|
|
self.proxyName = proxyName or ServiceSceneTipProxy.NAME
|
|
ServiceProxy.ctor(self, self.proxyName)
|
|
self:Init()
|
|
ServiceSceneTipProxy.Instance = self
|
|
end
|
|
end
|
|
|
|
function ServiceSceneTipProxy:RecvGameTipCmd(data)
|
|
RedTipProxy.Instance:UpdateRedTipsbyServer(data)
|
|
-- self:Notify(ServiceEvent.SceneTipGameTipCmd, data)
|
|
end
|
|
|
|
function ServiceSceneTipProxy:RecvBrowseRedTipCmd(data)
|
|
-- self:Notify(ServiceEvent.SceneTipBrowseRedTipCmd, data)
|
|
end
|
|
|
|
function ServiceSceneTipProxy:CallAddRedTip(red)
|
|
if(RedTipProxy.Instance:InRedTip(red)) then
|
|
return
|
|
end
|
|
--改由客戶端自主新增
|
|
-- ServiceSceneTipProxy.super.CallAddRedTip(self,red)
|
|
end |