Auto-generate packet dataclasses with Jinja (#1374)

This commit is contained in:
Matt
2024-08-31 13:44:19 -04:00
committed by GitHub
parent c19d54c633
commit 169595e56e
140 changed files with 4445 additions and 2097 deletions

View File

@@ -19,12 +19,12 @@
#include <wpi/protobuf/Protobuf.h>
#include "photon/targeting/PNPResult.h"
#include "photon/targeting/PnpResult.h"
template <>
struct wpi::Protobuf<photon::PNPResult> {
struct wpi::Protobuf<photon::PnpResult> {
static google::protobuf::Message* New(google::protobuf::Arena* arena);
static photon::PNPResult Unpack(const google::protobuf::Message& msg);
static photon::PnpResult Unpack(const google::protobuf::Message& msg);
static void Pack(google::protobuf::Message* msg,
const photon::PNPResult& value);
const photon::PnpResult& value);
};