yokyo 6 年之前
父節點
當前提交
dfad6bea79
共有 2 個文件被更改,包括 23 次插入1 次删除
  1. 23 1
      enums.proto
  2. 0 0
      tajmahal.proto

+ 23 - 1
enums.proto

@@ -47,6 +47,28 @@ enum ActionProgress {
     CANCELLED           = 3;
 }
 
-enum MsgIdMain {
+
+/// MsgId 包含所有客户端协议ID
+enum MsgId {
+    // tajmahal 服务器协议需要 0 - 9999
     S_NotFound          = 0;
+    C_Heartbeat         = 1;
+    S_Heartbeat         = 2;
+    C_Login             = 3;
+    S_Login             = 4;
+    C_Logout            = 5;
+    S_Logout            = 6;
+    C_EnterGame         = 7;
+    S_EnterGame         = 8;
+    C_LeaveGame         = 9;
+    S_LeaveGame         = 10;
+    C_UserInfo          = 11;
+    S_UserInfo          = 12;
+    C_Settings          = 13;
+    S_Settings          = 14;
+    C_UpdatePassword    = 21;
+    S_UpdatePassword    = 22;
+    C_UpdateAssets      = 23;
+    S_UpdateAssets      = 24;
+    // bit-legend 服务器协议: 10000 - 14000
 }

+ 0 - 0
main.proto → tajmahal.proto