Skip to content

Add unit archive schema#26

Open
Tom2096 wants to merge 2 commits into
decompfrontier:mainfrom
Tom2096:unit-archive-origin-main
Open

Add unit archive schema#26
Tom2096 wants to merge 2 commits into
decompfrontier:mainfrom
Tom2096:unit-archive-origin-main

Conversation

@Tom2096

@Tom2096 Tom2096 commented May 26, 2026

Copy link
Copy Markdown

Summary

  • add archive/unit.kdl for curated unit archive data
  • generate UnitRecord and UnitRecordStats schemas
  • document the DB-backed UserUnitInfo stat fields used by the server
  • keep generated C++ field docs correctly indented

Testing

  • generated server headers via py generate.py in the server repo
  • built server with cmake --build . --config Debug

@Tom2096

Tom2096 commented May 26, 2026

Copy link
Copy Markdown
Author

A quick TLDR on this change:

  • Added a local /deploy/archive/unit.json (This will act as our archive of units - Similar to the unit MST files, except it contains only fields that we actually use/understand - to be extended in the future)
  • Added a new archive/unit.kdl that matches the format of the above unit.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants