13 std::vector<std::string> broken;
16 const LiveField live = lookup(field.Class, field.Field);
17 field.Offset = live.
Offset;
20 broken.push_back(std::format(
"{}::{}: gone", field.Class, field.Field));
24 if (field.Size != 0 && live.
Size != 0 && live.
Size != field.Size)
26 broken.push_back(std::format(
"{}::{}: size {} -> {}", field.Class, field.Field, field.Size, live.
Size));
36 "the server schema no longer matches these fields; regenerate with voltmod framework schemagen:";
37 for (
const std::string& line : broken)
39 message += std::format(
"\n {}", line);