Esempio n. 1
0
 void ResetApi()
 {
     database         = null;
     networkBroadcast = null;
     history          = null;
     crypto           = null;
 }
 private IPromise HistoryApiInitialized(HistoryApi api)
 {
     return(new Promise((resolved, rejected) =>
     {
         OnHistoryApiInitialized.SafeInvoke(api);
         resolved();
     }));
 }
Esempio n. 3
0
 IPromise HistoryApiInitialized(HistoryApi api)
 {
     return(new Promise((resolved, rejected) => {
         if (!OnHistoryApiInitialized.IsNull())
         {
             OnHistoryApiInitialized.Invoke(api);
         }
         resolved();
     }));
 }
 private void ResetApi()
 {
     database         = null;
     networkBroadcast = null;
     history          = null;
 }
Esempio n. 5
0
 public void Init()
 {
     instance = new HistoryApi();
 }
 void Awake()
 {
     historyApi = HistoryApi.Instance;
 }