investment_derived_rebuild.h 845 B

123456789101112131415161718192021222324
  1. #pragma once
  2. namespace sunrise::state {
  3. struct Family5State;
  4. }
  5. namespace sunrise::client::hooks::network::investment {
  6. /** Replaces the live Family-5 override lists and invalidates their derived evaluation. */
  7. [[nodiscard]] bool publish_live_family5(const state::Family5State& family) noexcept;
  8. /** @return True when freshness and both real-arrival rebuild arms are attached. */
  9. [[nodiscard]] bool install() noexcept;
  10. /** @return True when every investment rebuild detour is absent. */
  11. [[nodiscard]] bool uninstall() noexcept;
  12. /** @return True while freshness and both real-arrival rebuild arms are attached. */
  13. [[nodiscard]] bool is_installed() noexcept;
  14. /** @return True while any investment rebuild detour still needs cleanup. */
  15. [[nodiscard]] bool has_ownership() noexcept;
  16. } // namespace sunrise::client::hooks::network::investment