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 }); }
protected void callWithdrawalFinished(bool Success, string Message) { if (ActiveActions.Contains(SiteAction.Withdraw)) { ActiveActions.Remove(SiteAction.Withdraw); } ForceUpdateStats = true; OnWithdrawalFinished?.Invoke(this, new GenericEventArgs { Success = Success, Message = Message }); }
protected void callDonationFinished(bool Success, string Message) { OnWithdrawalFinished?.Invoke(this, new GenericEventArgs { Success = Success, Message = Message }); }