Exemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        InitClientApp();

        CProtoManager dataplat = new CProtoManager();

        dataplat.LoadXMLS();


        ///-----------------------------------------------------------------
        ///数据初始化
        CScriptLuaMgr scripmgr = new CScriptLuaMgr();

        scripmgr.InitLuaMgr();

        //------------------------------------------------------------------
        // UI 系统的初始化操作
        GameUIManager PanelMgr = LuaFramework.LuaHelper.GetPanelManager();

        PanelMgr.InitFrames();


        CQuestMgr questMgr = new CQuestMgr();

        questMgr.InitQuest();

        CItemMgr itemgr = new CItemMgr();

        itemgr.InitIteMgr();

        CFightTeamMgr.Instance.Initlize();
        ///-----------------------------------------------------------------
    }
Exemplo n.º 2
0
    public CQuestMgr()
    {
        Inst        = this;
        m_QuestData = new CQuestData();
        m_Script    = new CQuestScript();

        m_currentQuests = new Dictionary <uint, CQuest> ();
        m_doneQuests    = new Dictionary <uint, int> ();
    }