Files
WoW-Hybrid-gateway/include/gateway/wmo_game_object_displays.hpp

29 lines
1.8 KiB
C++

// Generated by ops/wmo-displays/gen_wmo_displays.py from the live 70334 GameObjectDisplayInfo (11204 rows)
// + 28 Octo WMO displays imported by content e46b358f (#34, claude-lane/content/gomodels-2ad1-20261125/go-wmo.json).
// Displays whose model file is a WMO root: the create must carry GO_FLAG_MAP_OBJECT or 70334 loads it as an M2.
#pragma once
#include <algorithm>
#include <cstdint>
#include <iterator>
namespace gateway {
inline constexpr uint32_t GO_FLAG_MAP_OBJECT=0x00100000u;
inline constexpr uint32_t WmoGameObjectDisplays[]={
368, 467, 471, 476, 628, 629, 649, 2170, 2410, 3015, 3031, 3531,
3534, 4691, 6637, 7087, 8016, 9148, 9149, 28292, 28293, 28304, 28307, 28311,
28329, 28371, 28375, 28380, 28386, 28408, 28413, 28440, 28463, 28494, 28495, 28726,
28757, 28760, 28780, 28787, 28788, 28789, 28806, 28813, 28821, 28877, 28878, 28879,
28883, 28884, 28894, 28895, 28917, 28921, 28925, 28926, 28938, 28946, 28965, 29036,
29108, 29130, 29171, 30934, 31449, 32331, 32679, 32757, 32809, 32810, 32811, 32812,
32813, 32815, 32816, 32838, 32840, 32842, 32843, 32857, 32858, 32867, 32868, 32903,
32904, 32905, 32906, 32908, 32909, 32910, 32911, 32912, 32913, 32914, 32915, 32916,
33118, 72438, 84618, 84620, 84659, 84660, 84661, 87274, 87276, 87277, 88147, 88148,
88156, 88157, 89605, 94268, 96800, 96801, 96802, 97077, 97602, 100122, 100177, 100178,
100541, 100818, 100895, 103937, 104207, 104605, 104606, 105046, 105638, 109500, 109501, 112319,
121060, 121413, 121994, 122738, 122788, 123942, 123949, 126793, 126794, 128685, 128701, 129525,
130962, 133831,
};
constexpr bool turtle_wmo_game_object_display(uint32_t display){
return std::binary_search(std::begin(WmoGameObjectDisplays),std::end(WmoGameObjectDisplays),display);
}
}