55 lines
1.4 KiB
C++
55 lines
1.4 KiB
C++
// Generated by ops/claude_itemsparse_773/page_text_aliases.py from tw_world.page_text.
|
|
#pragma once
|
|
#include <cstdint>
|
|
|
|
namespace gateway::page_text_aliases {
|
|
struct Alias { uint32_t real; uint16_t client; };
|
|
inline constexpr Alias Aliases[] = {
|
|
{80150u, 65535u},
|
|
{80151u, 65534u},
|
|
{80152u, 65533u},
|
|
{80153u, 65532u},
|
|
{80154u, 65531u},
|
|
{80226u, 65530u},
|
|
{80227u, 65529u},
|
|
{80228u, 65528u},
|
|
{80229u, 65527u},
|
|
{80230u, 65526u},
|
|
{80231u, 65525u},
|
|
{80300u, 65524u},
|
|
{80301u, 65523u},
|
|
{80305u, 65522u},
|
|
{80306u, 65521u},
|
|
{80308u, 65520u},
|
|
{80309u, 65519u},
|
|
{80310u, 65518u},
|
|
{80311u, 65517u},
|
|
{80320u, 65516u},
|
|
{80322u, 65515u},
|
|
{80324u, 65514u},
|
|
{80325u, 65513u},
|
|
{80326u, 65512u},
|
|
{80327u, 65511u},
|
|
{80328u, 65510u},
|
|
{80329u, 65509u},
|
|
{80330u, 65508u},
|
|
{80331u, 65507u},
|
|
{1000063u, 65506u},
|
|
{1000243u, 65505u},
|
|
{1000244u, 65504u},
|
|
{1000245u, 65503u},
|
|
{1000246u, 65502u},
|
|
{1000247u, 65501u},
|
|
{1000248u, 65500u},
|
|
{1772030u, 65499u},
|
|
};
|
|
inline uint32_t to_source(uint32_t client) {
|
|
for (const auto& a : Aliases) if (a.client == client) return a.real;
|
|
return client;
|
|
}
|
|
inline uint32_t to_client(uint32_t real) {
|
|
for (const auto& a : Aliases) if (a.real == real) return a.client;
|
|
return real;
|
|
}
|
|
} // namespace gateway::page_text_aliases
|