127 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
15 lines
558 B
C++
15 lines
558 B
C++
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
#pragma once
|
|
#include <cstdint>
|
|
namespace gateway {
|
|
// Source and target store (1 << (state ordinal - 1)), not the ordinal.
|
|
// Names and producer proofs: docs/evidence/gameplay/aura-state-20261022/.
|
|
struct AuraStateTranslation {
|
|
uint32_t native_flags{};
|
|
uint32_t held_source_flags{};
|
|
};
|
|
// Unsupported and unknown source states stay out of the target namespace.
|
|
// This maps genuine server states; it never derives eligibility from HP.
|
|
AuraStateTranslation translate_aura_states(uint32_t source_flags);
|
|
}
|