[Yunq] Move method numbers to a scheme set by the parser.

This commit is contained in:
Drew Galbraith 2024-01-11 21:00:51 -08:00
parent 3b91819a4b
commit 9e12531651
3 changed files with 5 additions and 2 deletions

View file

@ -103,7 +103,7 @@ glcr::Status {{interface.name}}ServerBase::HandleRequest(const glcr::ByteBuffer&
switch(method_select) {
{%- for method in interface.methods %}
case {{loop.index0}}: {
case {{method.number}}: {
{% if method.request != None %}
{{method.request}} yunq_request;