started some things

This commit is contained in:
2025-10-24 20:01:01 -05:00
parent 88abf7ac2b
commit fc0bbd18d6
3 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
[hostname]
base_path="https://tracker.example.com"

View File

@@ -0,0 +1,8 @@
#include "objects.hpp"
namespace serializable {
template <typename S>
void serialize(S &s, HandshakeConnection &object){
s.value2b(object.payload);
}
}

View File

@@ -0,0 +1,13 @@
#pragma once
#include <bitsery/bitsery.h>
#include <cstdint>
namespace serializable{
struct HandshakeConnection {
std::uint16_t payload;
};
template<typename S>
void serialize(S& s, HandshakeConnection& object);
}