Exemplo n.º 1
0
 public void initGVar()
 {
     // 游戏逻辑处理
     Ctx.m_instance.m_cbUIEvent = new LoginUIEventCB();
     m_loginNetHandleCB         = new LoginNetHandleCB();
     Ctx.m_instance.m_netDispList.addOneDisp(m_loginNetHandleCB);
     m_loginRouteCB = new LoginRouteCB();
     Ctx.m_instance.m_msgRouteList.addOneDisp(m_loginRouteCB);
 }
Exemplo n.º 2
0
 public void initGVar()
 {
     // 游戏逻辑处理
     Ctx.m_instance.m_cbUIEvent = new LoginUIEventCB();
     m_loginNetHandleCB = new LoginNetHandleCB();
     Ctx.m_instance.m_netDispList.addOneDisp(m_loginNetHandleCB);
     m_loginRouteCB = new LoginRouteCB();
     Ctx.m_instance.m_msgRouteList.addOneDisp(m_loginRouteCB);
 }