127 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
143 lines
2.7 KiB
C++
143 lines
2.7 KiB
C++
// Generated strict complete membership; operation11 flat only.
|
|
// Same reference writer contract; original receive consumer remains unobserved.
|
|
#pragma once
|
|
#include <array>
|
|
#include <cstdint>
|
|
namespace gateway::warrior_cooldown {
|
|
struct ClassBitRoute { uint8_t character_class, source_bit, native_bit; };
|
|
inline constexpr std::array<ClassBitRoute,122> ClassRoutes{{
|
|
{1,1,1},
|
|
{1,2,2},
|
|
{1,4,4},
|
|
{1,6,6},
|
|
{1,9,9},
|
|
{1,10,10},
|
|
{1,11,11},
|
|
{1,12,12},
|
|
{1,14,14},
|
|
{1,19,19},
|
|
{1,24,24},
|
|
{1,27,27},
|
|
{1,28,28},
|
|
{1,29,29},
|
|
{1,34,37},
|
|
{1,36,52},
|
|
{1,37,45},
|
|
{2,0,0},
|
|
{2,4,4},
|
|
{2,6,6},
|
|
{2,8,8},
|
|
{2,10,10},
|
|
{2,11,11},
|
|
{2,15,15},
|
|
{2,16,16},
|
|
{2,23,23},
|
|
{2,31,74},
|
|
{2,32,111},
|
|
{2,33,33},
|
|
{2,34,41},
|
|
{3,3,3},
|
|
{3,4,4},
|
|
{3,5,5},
|
|
{3,8,8},
|
|
{3,9,9},
|
|
{3,19,19},
|
|
{3,21,21},
|
|
{3,22,22},
|
|
{3,23,23},
|
|
{3,24,24},
|
|
{3,25,25},
|
|
{3,26,26},
|
|
{3,27,27},
|
|
{3,28,28},
|
|
{3,29,29},
|
|
{3,30,30},
|
|
{3,31,31},
|
|
{4,3,3},
|
|
{4,5,5},
|
|
{4,6,6},
|
|
{4,7,7},
|
|
{4,10,10},
|
|
{4,12,12},
|
|
{4,21,21},
|
|
{4,26,26},
|
|
{4,27,27},
|
|
{4,28,28},
|
|
{4,34,40},
|
|
{5,1,1},
|
|
{5,4,4},
|
|
{5,8,8},
|
|
{5,9,9},
|
|
{5,10,10},
|
|
{5,13,13},
|
|
{5,14,14},
|
|
{5,16,16},
|
|
{5,21,21},
|
|
{5,29,29},
|
|
{5,32,32},
|
|
{7,2,2},
|
|
{7,3,3},
|
|
{7,4,4},
|
|
{7,5,5},
|
|
{7,6,6},
|
|
{7,7,7},
|
|
{7,9,9},
|
|
{7,12,12},
|
|
{7,13,13},
|
|
{7,14,14},
|
|
{7,15,15},
|
|
{7,16,16},
|
|
{7,18,18},
|
|
{7,22,22},
|
|
{7,24,24},
|
|
{7,25,25},
|
|
{7,31,31},
|
|
{7,32,32},
|
|
{7,34,34},
|
|
{7,35,35},
|
|
{8,4,4},
|
|
{8,6,6},
|
|
{8,12,12},
|
|
{8,13,13},
|
|
{8,23,23},
|
|
{8,25,25},
|
|
{8,28,28},
|
|
{8,37,51},
|
|
{9,7,7},
|
|
{9,13,13},
|
|
{9,17,17},
|
|
{9,18,18},
|
|
{9,19,19},
|
|
{9,26,26},
|
|
{9,27,27},
|
|
{9,28,28},
|
|
{11,3,3},
|
|
{11,5,5},
|
|
{11,9,9},
|
|
{11,11,11},
|
|
{11,13,13},
|
|
{11,14,14},
|
|
{11,16,16},
|
|
{11,17,17},
|
|
{11,20,20},
|
|
{11,21,21},
|
|
{11,24,24},
|
|
{11,26,26},
|
|
{11,28,28},
|
|
{11,30,30},
|
|
{11,31,31},
|
|
{11,33,33},
|
|
{11,34,34},
|
|
}};
|
|
constexpr bool valid_class_routes(){
|
|
for(size_t i=0;i<ClassRoutes.size();++i){
|
|
auto a=ClassRoutes[i];
|
|
if(a.source_bit>=64 || a.native_bit>=128)return false;
|
|
if(a.character_class!=1 && a.character_class!=2 && a.character_class!=3 && a.character_class!=4 && a.character_class!=5 && a.character_class!=7 && a.character_class!=8 && a.character_class!=9 && a.character_class!=11)return false;
|
|
for(size_t j=0;j<i;++j){auto b=ClassRoutes[j];if(a.character_class==b.character_class && (a.source_bit==b.source_bit || a.native_bit==b.native_bit))return false;}
|
|
}
|
|
return true;
|
|
}
|
|
static_assert(valid_class_routes());
|
|
}
|