Exemple #1
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
     });
 }
Exemple #2
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
     });
 }
Exemple #3
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
     });
 }