Modern UI contract: stadium read and ticket.commit
The stadium read lists the periphery (the traffic access with its stage), the eight facilities with their level, the eight stand blocks and the ticket price, with the original names. ticket.commit sets the admission price. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4372e6b78a
commit
6386c891b5
4 files changed
+77
-2
No files matched your search
@@ -743,7 +743,7 @@ int main(int argc, char** argv) {
|
||||
read({{"kind", "squad"}});
|
||||
read({{"kind", "table"}, {"league", 42}});
|
||||
// the interface contract (docs/new_engine/ui-anbindung.md)
|
||||
for (const char* kind : {"session", "desktop", "squad", "camps", "nonsense"}) {
|
||||
for (const char* kind : {"session", "desktop", "squad", "camps", "stadium", "nonsense"}) {
|
||||
const auto request = cli::Json::Object{{"kind", kind}, {"requestId", std::string("request:sim-") + kind}};
|
||||
std::printf("ui_read %s\n -> %s\n", kind, cli::dump_json(session.ui_read(request, revision)).c_str());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user