activity_sdk_squad_graph_shard.h 803 B

1234567891011121314151617181920
  1. #pragma once
  2. #include <cstdint>
  3. #include "../../../state/build_data/scriptables/definition.h"
  4. #include "activity_sdk_squad_graph.h"
  5. namespace sunrise::client::content::activity::sdk_generation::squad_inventory {
  6. /**
  7. * Appends only scenario-owned authored-squad graph contexts to one otherwise-built shard.
  8. * Estate-global definitions deliberately remain outside per-scenario shards.
  9. */
  10. // TODO: no generation path calls this yet, so every shard publishes empty squad graph contexts.
  11. [[nodiscard]] bool
  12. append_scenario_graph_contexts(std::uint32_t scenarioIndex,
  13. const GraphSnapshot& graph,
  14. state::build_data::scriptables::Snapshot& output) noexcept;
  15. } // namespace sunrise::client::content::activity::sdk_generation::squad_inventory