Example #1
0
        private void PopulateDataCache()
        {
            DbOpLoadAllItems items_request = new DbOpLoadAllItems();

            items_request.OnRequestComplete += DbOpLoadAllItems_OnRequestComplete;
            mDatabaseInstance.BeginExecuteRequest(items_request);

            DbOpLoadAllBattles battles_request = new DbOpLoadAllBattles();

            battles_request.OnRequestComplete += DbOpLoadAllBattles_OnRequestComplete;
            mDatabaseInstance.BeginExecuteRequest(battles_request);

            DbOpLoadAllDungeons dungeons_request = new DbOpLoadAllDungeons();

            dungeons_request.OnRequestComplete += DbOpLoadAllDungeons_OnRequestComplete;
            mDatabaseInstance.BeginExecuteRequest(dungeons_request);

            DbOpLoadAllWorlds worlds_request = new DbOpLoadAllWorlds();

            worlds_request.OnRequestComplete += DbOpLoadAllWorlds_OnRequestComplete;
            mDatabaseInstance.BeginExecuteRequest(worlds_request);
        }
Example #2
0
        private void PopulateDataCache()
        {
            DbOpLoadAllItems items_request = new DbOpLoadAllItems();
            items_request.OnRequestComplete += DbOpLoadAllItems_OnRequestComplete;
            mDatabaseInstance.BeginExecuteRequest(items_request);

            DbOpLoadAllBattles battles_request = new DbOpLoadAllBattles();
            battles_request.OnRequestComplete += DbOpLoadAllBattles_OnRequestComplete;
            mDatabaseInstance.BeginExecuteRequest(battles_request);

            DbOpLoadAllDungeons dungeons_request = new DbOpLoadAllDungeons();
            dungeons_request.OnRequestComplete += DbOpLoadAllDungeons_OnRequestComplete;
            mDatabaseInstance.BeginExecuteRequest(dungeons_request);

            DbOpLoadAllWorlds worlds_request = new DbOpLoadAllWorlds();
            worlds_request.OnRequestComplete += DbOpLoadAllWorlds_OnRequestComplete;
            mDatabaseInstance.BeginExecuteRequest(worlds_request);
        }