Ejemplo n.º 1
0
 private void RemoveFinishedActions()
 {
     for (int i = 0; i < finishedActions.Count; i++)
     {
         ActiveActions.Remove(finishedActions[i]);
     }
     finishedActions.Clear();
 }
Ejemplo n.º 2
0
 protected void callInvestFinished(bool Success, string Message)
 {
     if (ActiveActions.Contains(SiteAction.Invest))
     {
         ActiveActions.Remove(SiteAction.Invest);
     }
     OnWithdrawalFinished?.Invoke(this, new GenericEventArgs {
         Success = Success, Message = Message
     });
 }
Ejemplo n.º 3
0
 protected void callResetSeedFinished(bool Success, string Message)
 {
     if (ActiveActions.Contains(SiteAction.ResetSeed))
     {
         ActiveActions.Remove(SiteAction.ResetSeed);
     }
     OnResetSeedFinished?.Invoke(this, new GenericEventArgs {
         Success = Success, Message = Message
     });
 }
Ejemplo n.º 4
0
 protected void callInvestFinished(bool Success, string Message)
 {
     if (ActiveActions.Contains(SiteAction.Invest))
     {
         ActiveActions.Remove(SiteAction.Invest);
     }
     ForceUpdateStats = true;
     OnInvestFinished?.Invoke(this, new GenericEventArgs {
         Success = Success, Message = Message
     });
 }