예제 #1
0
        public static Task <DatabaseObject> LoadMyPlayerObjectAsync(this BigDB bigDB)
        {
            var tcs = new TaskCompletionSource <DatabaseObject>();

            bigDB.LoadMyPlayerObject(tcs.SetResult, tcs.SetException);
            return(tcs.Task);
        }