コード例 #1
0
 internal void FetchAll(Types.DataSource source,
                        Action <FetchAllResponse> callback)
 {
     C.EventManager_FetchAll(
         mServices.AsHandle(),
         source,
         InternalFetchAllCallback,
         Callbacks.ToIntPtr <FetchAllResponse>(callback, FetchAllResponse.FromPointer));
 }
コード例 #2
0
 internal void Fetch(Types.DataSource source, string questId, Action <FetchResponse> callback)
 {
     C.QuestManager_Fetch(
         mServices.AsHandle(),
         source,
         questId,
         InternalFetchCallback,
         Callbacks.ToIntPtr <FetchResponse>(callback, FetchResponse.FromPointer));
 }
コード例 #3
0
 internal void FetchList(Types.DataSource source, int fetchFlags,
                         Action <FetchListResponse> callback)
 {
     C.QuestManager_FetchList(
         mServices.AsHandle(),
         source,
         fetchFlags,
         InternalFetchListCallback,
         Callbacks.ToIntPtr <FetchListResponse>(callback, FetchListResponse.FromPointer));
 }
コード例 #4
0
 internal void Open(string fileName, Types.DataSource source,
                    Types.SnapshotConflictPolicy conflictPolicy, Action <OpenResponse> callback)
 {
     Misc.CheckNotNull(fileName);
     Misc.CheckNotNull(callback);
     C.SnapshotManager_Open(mServices.AsHandle(),
                            source,
                            fileName,
                            conflictPolicy,
                            InternalOpenCallback,
                            Callbacks.ToIntPtr <OpenResponse>(callback, OpenResponse.FromPointer));
 }