载入中...
搜索中...
未找到
SkillDefinitionRuntime.h
浏览该文件的文档.
53 eve::definitions::DefinitionRegistry& registry, eve::DefinitionRef definition, eve::PersistentId instanceId,
96 [[nodiscard]] eve::Result<eve::definition::ReloadOutcome> reload(eve::definition::ReloadPolicy policy);
105 [[nodiscard]] eve::Result<eve::SnapshotEnvelope> snapshot(eve::Revision revision, eve::SimulationTick tick,
Common identity and hot-reload contract for typed runtime instances.
Shared SnapshotEnvelope codec for typed definition runtime instances.
Versioned, integrity-checked persistence envelopes.
Owns one strongly typed runtime state and its definition identity.
Definition DefinitionRuntime.h:292
Deterministic registry of topic-neutral, versioned JSON definitions.
Definition Definitions.h:58
Typed SkillDefinition-to-runtime adapter.
Definition SkillDefinitionRuntime.h:42
SkillDefinitionRuntime(SkillDefinitionRuntime &&) noexcept=default
Skill definition runtime.
@ RebuildInstance
Let the consumer atomically construct a new state from the new definition.
std::function< Result< ContentId >(std::string_view canonicalInput)> SnapshotHashProvider
Injected content-digest implementation used by snapshots.
Definition Snapshot.h:36
Definition Container.h:602
Stable outer format shared by persistence and cross-process snapshots.
Definition Snapshot.h:46
Mutable state belonging to one learned skill instance.
Definition SkillDefinitionRuntime.h:28
float cooldownRemaining
Definition SkillDefinitionRuntime.h:29