Files
WoW-Hybrid-gateway/include/gateway/shop_illusion_aura_profile.hpp
2026-11-23 03:28:32 +02:00

15 lines
911 B
C++

// Generated by ops/qualify_shop_illusion_aura.py from the pinned old-client Spell.dbc
// and the effective Windows codec. Pending spells require their paired hotfix.
#pragma once
#include <algorithm>
#include <cstdint>
#include <iterator>
namespace gateway::shop_illusion_aura_profile {
inline constexpr uint32_t Existing[]={ 2,9,20,23,32,36,31960,31962,31963,31964,31966,31967,31968,31969,31970,31971,31972,31973,31974,31975,31976,31977,31978,31979,31980,31981,31982,31983,31984,31985,31986,31987,45003,50910,50911,50912,50913,50914,50915,50916,50917,50918,50919,50920,50921,50932 };
inline constexpr uint32_t PendingCodec[]={ 21570,21571,21572,21573,21574,30282,30283,30284 };
inline uint32_t mask(uint32_t spell){
return (std::binary_search(std::begin(Existing),std::end(Existing),spell) ||
std::binary_search(std::begin(PendingCodec),std::end(PendingCodec),spell))?1u:0u;
}
}