From 5e2ef375c90a288c52dc3f47fadc8ed2febd2ab6 Mon Sep 17 00:00:00 2001 From: mischa Date: Sat, 28 Oct 2023 16:38:46 +0200 Subject: [PATCH] KcpState.cs --- kcp2k/kcp2k/highlevel/KcpPeer.cs | 2 -- kcp2k/kcp2k/highlevel/KcpState.cs | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 kcp2k/kcp2k/highlevel/KcpState.cs diff --git a/kcp2k/kcp2k/highlevel/KcpPeer.cs b/kcp2k/kcp2k/highlevel/KcpPeer.cs index e7f72d4..c2c66e3 100644 --- a/kcp2k/kcp2k/highlevel/KcpPeer.cs +++ b/kcp2k/kcp2k/highlevel/KcpPeer.cs @@ -8,8 +8,6 @@ namespace kcp2k { - enum KcpState { Connected, Authenticated, Disconnected } - public class KcpPeer { // identifier for logging. diff --git a/kcp2k/kcp2k/highlevel/KcpState.cs b/kcp2k/kcp2k/highlevel/KcpState.cs new file mode 100644 index 0000000..6784600 --- /dev/null +++ b/kcp2k/kcp2k/highlevel/KcpState.cs @@ -0,0 +1,4 @@ +namespace kcp2k +{ + enum KcpState { Connected, Authenticated, Disconnected } +}