11 lines
5.0 KiB
C++
11 lines
5.0 KiB
C++
// Generated from reviewed local SQL and native same-ID aura effect rows.
|
|
#pragma once
|
|
#include <algorithm>
|
|
#include <cstdint>
|
|
#include <iterator>
|
|
namespace gateway::source_mount_aura_profile {
|
|
struct Definition {uint32_t spell,active_flags;};
|
|
inline constexpr Definition Rows[]={{51,1},{458,1},{459,1},{468,1},{470,1},{471,1},{472,1},{578,1},{579,1},{580,1},{581,1},{3363,1},{6648,1},{6653,1},{6654,1},{6777,1},{6896,1},{6897,1},{6898,1},{6899,1},{8394,1},{8395,1},{8396,1},{8980,1},{10787,1},{10788,1},{10789,1},{10790,1},{10792,1},{10793,1},{10795,1},{10796,1},{10798,1},{10799,1},{10800,1},{10801,1},{10802,1},{10803,1},{10804,1},{10873,1},{10969,1},{15779,1},{15780,1},{15781,1},{16055,1},{16056,1},{16058,1},{16059,1},{16060,1},{16080,1},{16081,1},{16082,1},{16083,1},{16084,1},{17229,1},{17450,1},{17453,1},{17454,1},{17455,1},{17456,1},{17458,1},{17459,1},{17460,1},{17461,1},{17462,1},{17463,1},{17464,1},{17465,1},{17481,1},{18363,1},{18989,1},{18990,1},{18991,1},{18992,1},{22717,1},{22718,1},{22719,1},{22720,1},{22721,1},{22722,1},{22723,1},{22724,1},{23219,1},{23220,1},{23221,1},{23222,1},{23223,1},{23225,1},{23227,1},{23228,1},{23229,1},{23238,1},{23239,1},{23240,1},{23241,1},{23242,1},{23243,1},{23246,1},{23247,1},{23248,1},{23249,1},{23250,1},{23251,1},{23252,1},{23338,1},{23509,1},{23510,1},{24242,1},{24252,1},{24576,1},{25675,1},{25858,1},{25859,1},{25863,1},{25953,1},{26054,1},{26055,1},{26056,1},{26655,1},{29059,1},{30040,1},{30174,1},{30339,1},{31478,1},{31700,1},{32000,1},{32001,1},{32002,1},{32003,1},{32004,1},{32005,1},{32006,1},{32007,1},{32008,1},{32009,1},{32010,1},{32011,1},{32012,1},{32013,1},{32014,1},{32015,1},{32016,1},{32017,1},{32018,1},{32019,1},{32020,1},{32021,1},{32022,1},{32023,1},{32024,1},{32025,1},{32026,1},{33395,1},{33396,1},{33400,1},{33401,1},{33402,1},{33403,1},{33404,1},{33405,1},{33406,1},{33407,1},{33408,1},{33409,1},{33410,1},{33411,1},{33412,1},{33413,1},{33414,1},{33415,1},{33416,1},{33417,1},{33418,1},{33419,1},{33420,1},{33421,1},{33422,1},{33423,1},{33424,1},{33425,1},{33426,1},{36650,1},{36651,1},{36652,1},{36653,1},{36654,1},{36655,1},{36656,1},{36657,1},{36658,1},{36659,1},{36660,1},{36661,1},{36662,1},{36663,1},{36664,1},{36665,1},{36666,1},{36667,1},{36668,1},{36669,1},{36670,1},{36671,1},{36672,1},{36673,1},{36674,1},{36675,1},{36676,1},{36677,1},{36678,1},{36679,1},{36680,1},{36681,1},{36682,1},{36683,1},{36684,1},{36685,1},{36686,1},{36687,1},{36688,1},{36689,1},{36690,1},{36691,1},{36692,1},{36693,1},{36694,1},{36695,1},{36696,1},{36697,1},{36698,1},{36699,1},{36700,1},{36701,1},{36702,1},{36703,1},{36704,1},{36705,1},{36706,1},{36707,1},{36708,1},{36709,1},{36710,1},{36711,1},{36712,1},{36713,1},{36714,1},{36715,1},{36716,1},{36717,1},{36718,1},{36719,1},{36720,1},{36721,1},{36722,1},{36723,1},{42030,1},{42031,1},{42032,1},{42033,1},{42034,1},{45001,1},{45007,1},{45008,1},{45009,1},{45010,1},{45011,1},{45012,1},{45013,1},{45032,1},{45033,1},{45034,1},{45035,1},{45036,1},{45037,1},{45038,1},{45039,1},{45040,1},{45041,1},{45042,1},{45043,1},{45044,1},{45045,1},{45046,1},{45047,1},{45048,1},{45049,1},{45050,1},{45051,1},{45052,1},{45053,1},{45993,1},{45994,1},{45995,1},{45996,1},{46201,1},{46202,1},{46203,1},{46204,1},{46205,1},{46206,1},{46207,1},{46208,1},{46209,1},{46210,1},{46211,1},{46212,1},{46213,1},{46214,1},{46215,1},{46216,1},{46217,1},{46218,1},{46219,1},{46220,1},{46221,1},{46222,1},{46223,1},{46224,1},{46225,1},{46441,1},{46442,1},{46443,1},{46444,1},{46445,1},{46446,1},{46447,1},{46448,1},{46449,1},{46450,1},{46451,1},{46452,1},{46453,1},{46454,1},{46455,1},{46456,1},{46501,1},{46502,1},{46503,1},{46504,1},{46505,1},{46506,1},{46507,1},{46508,1},{46509,1},{46510,1},{46511,1},{46512,1},{46513,1},{46514,1},{46515,1},{46516,1},{46517,1},{46518,1},{46519,1},{46520,1},{46521,1},{46522,1},{46523,1},{46524,1},{46525,1},{46526,1},{46527,1},{46528,1},{46529,1},{46531,1},{46532,1},{46533,1},{46534,1},{46535,1},{46536,1},{46537,1},{46538,1},{46539,1},{48600,1},{48601,1},{48602,1},{48603,1},{48604,1},{48605,1},{48606,1},{48607,1},{48608,1},{48609,1},{48610,1},{48611,1},{48612,1},{48613,1},{48614,1},{48615,1},{48616,1},{48617,1},{48618,1},{48619,1},{48620,1},{48621,1},{48622,1},{48623,1},{48624,1},{48625,1},{48626,1},{48627,1},{48628,1},{48629,1},{48630,1},{48631,1},{48632,1},{48633,1},{48634,1},{48635,1},{48636,1},{48637,1},{48638,1},{48639,1},{48640,1},{48641,1},{48642,1},{48643,1},{48644,1},{48645,1},{48646,1},{48647,1},{48648,1},{48649,1},{48660,1},{48670,1},{48671,1},{48672,1},{48673,1},{48674,1},{48675,1},{48676,1},{48677,1},{50050,1},{50051,1},{50052,1},{50053,1},{50054,1},{50055,1},{50056,1},{50057,1},{50058,1},{50059,1},{57575,1},{57576,1},{57577,1},{57578,1},{57722,1},{57723,1},{57740,1},{58030,1},{58031,1},{58032,1},{58038,1},{58039,1},{58040,1},{58041,1},{58042,1},{65417,1},{65418,1},{65419,1},{65420,1},{65421,1},{65422,1},{65423,1},{65424,1},{65440,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;}
|
|
}
|