Files
WoW-Hybrid-gateway/include/gateway/source_ghost_aura_profile.hpp
praxisandClaude Fable 5.2 c2194c59d4 Protocol core: packet translation between source and native
127 files, from working commit b1a079a.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 01:32:47 +02:00

11 lines
507 B
C++

// Generated from reviewed local SQL and native same-ID aura effect rows.
#pragma once
#include <algorithm>
#include <cstdint>
#include <iterator>
namespace gateway::source_ghost_aura_profile {
struct Definition {uint32_t spell,active_flags;};
inline constexpr Definition Rows[]={{8326,1}};
inline uint32_t mask(uint32_t spell){auto it=std::lower_bound(std::begin(Rows),std::end(Rows),spell,[](const auto& r,uint32_t s){return r.spell<s;});return it!=std::end(Rows)&&it->spell==spell?it->active_flags:0;}
}