From 72e25b5af7ff0136925d6ddc933dcd31118f2d26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E7=8C=BF?= <1083092844@qq.com>
Date: Mon, 19 Jun 2023 21:41:04 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8C=87=E4=BB=A4=E5=8C=85?=
=?UTF-8?q?=E7=BB=93=E6=9E=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
BarrageGrab/JsonEntity/Command.cs | 34 +++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
create mode 100644 BarrageGrab/JsonEntity/Command.cs
diff --git a/BarrageGrab/JsonEntity/Command.cs b/BarrageGrab/JsonEntity/Command.cs
new file mode 100644
index 0000000..2bac46e
--- /dev/null
+++ b/BarrageGrab/JsonEntity/Command.cs
@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace BarrageGrab.JsonEntity
+{
+ public enum CommandCode
+ {
+ ///
+ /// 空指令
+ ///
+ None = 0,
+
+ ///
+ /// 安全关闭程序
+ ///
+ Close = 1,
+ }
+
+ public class Command
+ {
+ ///
+ /// 指令标识
+ ///
+ public CommandCode Cmd { get; set; }
+
+ ///
+ /// 附加数据
+ ///
+ public object Data { get; set; }
+ }
+}