Update ServerDefinition

This commit is contained in:
tequ
2026-02-20 02:29:29 +09:00
parent 8a2d0b1aa4
commit 5736d83aa1

View File

@@ -121,7 +121,8 @@ private:
if (find("UINT"))
{
if (find("256") || find("192") || find("160") || find("128"))
if (find("512") || find("384") || find("256") || find("192") ||
find("160") || find("128"))
return replace("UINT", "Hash");
else
return replace("UINT", "UInt");
@@ -388,6 +389,10 @@ private:
}
auto const translate_tt = [](std::string inp) -> std::string {
if (inp == "Amendment")
return "EnableAmendment";
if (inp == "Fee")
return "SetFee";
if (inp == "PaychanClaim")
return "PaymentChannelClaim";
if (inp == "PaychanCreate")
@@ -437,6 +442,7 @@ private:
std::string name;
std::uint32_t value;
};
// URITokenMint
std::array<FlagData, 1> uriTokenMintFlags{{{"tfBurnable", tfBurnable}}};
for (auto const& entry : uriTokenMintFlags)
{