cOMS/network/packet/general/PingPacket.h
Dennis Eichhorn 4f1cbd98f9
Some checks failed
Microsoft C++ Code Analysis / Analyze (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (autobuild, c-cpp) (push) Has been cancelled
started templating
2025-03-21 01:08:09 +00:00

19 lines
376 B
C

#ifndef COMS_NETWORK_PACKET_GENERAL_PING_H
#define COMS_NETWORK_PACKET_GENERAL_PING_H
#include <stdio.h>
#include "../../../stdlib/Types.h"
// The default ping package is an empty package
struct PingPackage {};
#pragma pack(push, 1)
struct __attribute__ ((__packed__)) TimedPingPackage {
uint8 msg_type;
uint8 subtype;
uint64 time;
};
#pragma pack(pop)
#endif