From 35b0f61b0e230c4f430eecea9432cc7ab8705c86 Mon Sep 17 00:00:00 2001 From: "Alecio Furanze (Ale)" Date: Tue, 2 Jul 2024 13:41:00 +0200 Subject: [PATCH] rudp create package --- src/rudp/partials/RUDP.ClientTo.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/rudp/partials/RUDP.ClientTo.cs b/src/rudp/partials/RUDP.ClientTo.cs index ac6c322..301259f 100644 --- a/src/rudp/partials/RUDP.ClientTo.cs +++ b/src/rudp/partials/RUDP.ClientTo.cs @@ -33,6 +33,13 @@ private struct Config public const byte CloseRepeat = 32; } + private class Package + { + public uint Id { get; set; } + public byte[] Data { get; set; } + public sbyte Type { get; set; } + } + private ClientTo() {