Пример #1
0
    public SubSysMgr()
    {
        subSysList = new Dictionary <int, SubSysBase>();
        /*------------------注册子系统---------------------*/
        SubSysBase subSys = new LoginSys();

        subSysList.Add((int)subSys.subSysType, subSys);
        subSys.EnterSys();
        GameEventMgr.GetInstance().RegisterHandler(this, EventType.ChangeSys, EventType.ServerMsg, EventType.SystemMsg);
    }