Explorar el Código

fixed: proto文件转为utf8编码.

gwang hace 3 años
padre
commit
ce07c958da

+ 1 - 1
CSserver/PBReferens/pb/ErrCode.proto

@@ -1,4 +1,4 @@
-syntax = "proto3";
+syntax = "proto3";
 
  // package BossServer; //暂时没有定 命名空间
 

+ 1 - 1
CSserver/PBReferens/pb/MsgTypeEnum.proto

@@ -1,4 +1,4 @@
-syntax = "proto3";
+syntax = "proto3";
 
  // package BossServer; //暂时没有定 命名空间
 

+ 14 - 14
CSserver/PBReferens/pb/chat.proto

@@ -3,17 +3,17 @@ syntax = "proto3";
 package Chat;
  
 
-// 频道
+// 棰戦亾
 enum ChatChannel {
-	// 系统频道
+	// 绯荤粺棰戦亾
 	System = 0;
-	// 世界频道
+	// 涓栫晫棰戦亾
 	World = 1;
-	// 公会频道
+	// 鍏�細棰戦亾
 	Guild =2;
 }
 
-// 聊天, 登录
+// 鑱婂ぉ, 鐧诲綍
 message CS_ChatLogin
 {
 	int32 Zoneid = 1;
@@ -21,7 +21,7 @@ message CS_ChatLogin
 	string Name =3;
 }
 
-// 聊天, 发送消息
+// 鑱婂ぉ, 鍙戦€佹秷鎭�
 message CS_ChatSendMsg
 {
   
@@ -30,26 +30,26 @@ message CS_ChatSendMsg
 
 }
 
-// 聊天, 初始化返回值
+// 鑱婂ぉ, 鍒濆�鍖栬繑鍥炲€�
 message SC_ChatLogin
 {
-     // 错误码
+     // 閿欒�鐮�
 	enum ErrorCode
 	{
-	     // 成功
+	     // 鎴愬姛
 		 OK = 0;
-		 // 未知的UID
+		 // 鏈�煡鐨刄ID
 		 AccIDInvalid = 1;
-		 // 重复登入
+		 // 閲嶅�鐧诲叆
 		 LoginRepeat = 2;
-		 // 内部错误
+		 // 鍐呴儴閿欒�
 		 InnerError = 3;
 	}
-	// 错误码
+	// 閿欒�鐮�
 	ErrorCode code = 1;
 } 
 
-// 聊天, 新的消息
+// 鑱婂ぉ, 鏂扮殑娑堟伅
 message SC_ChatNewMsg
 { 
 	ChatChannel FromChannel = 1;

+ 11 - 11
CSserver/PBReferens/pb/fight.proto

@@ -4,23 +4,23 @@ syntax = "proto3";
 package BossServer;
  
 
-//上报伤害输出
+//涓婃姤浼ゅ�杈撳嚭
 message CSFightReportDamage
 {
-       // 伤害输出
+       // 浼ゅ�杈撳嚭
 	  int32 Damage = 1;
 }
-// 上报玩家剩余血量
+// 涓婃姤鐜╁�鍓╀綑琛€閲�
 message CSReportUserHP{
 	int32 UserHP = 1;
 }
-// 结束(一般情况下是玩家血量到底主动退出)
+// 缁撴潫(涓€鑸�儏鍐典笅鏄�帺瀹惰�閲忓埌搴曚富鍔ㄩ€€鍑�)
 message CSLeaveFight
 {
 	  int32 _no =1;
 }
  
-// 从连接状态转入已经登陆状态(标记自己的uid和zoneid)
+// 浠庤繛鎺ョ姸鎬佽浆鍏ュ凡缁忕櫥闄嗙姸鎬�(鏍囪�鑷�繁鐨剈id鍜寊oneid)
 message CSEnterFight
 {
 	int32 Zoneid = 1;
@@ -29,27 +29,27 @@ message CSEnterFight
 
 }
 
-// 登陆完成
+// 鐧婚檰瀹屾垚
 message SCEnterFight
 {
 	int32 BossHp = 1;
 	int32 BossMaxHp = 2;
 	int32 UserHP = 3;
-	// 倒计时
+	// 鍊掕�鏃�
 	int32 CountDown=4;
 	
 }
-// 更新状态数据
+// 鏇存柊鐘舵€佹暟鎹�
 message SCUpdateProperties
 {
    int32 BossHp=1;
    int32 BossMaxHp=2;
-   // 倒计时
+   // 鍊掕�鏃�
 	int32 CountDown=3;
 }
-// 战斗结束
+// 鎴樻枟缁撴潫
 message SCGameOver{
 	int32 BossHp=1;	
-	// 倒计时
+	// 鍊掕�鏃�
 	int32 CountDown=2;
 }

+ 14 - 14
CSserver/PBReferens/pbcs/Chat.cs

@@ -46,19 +46,19 @@ namespace Chat {
   }
   #region Enums
   /// <summary>
-  /// 频道
+  /// 棰戦亾
   /// </summary>
   public enum ChatChannel {
     /// <summary>
-    /// 系统频道
+    /// 绯荤粺棰戦亾
     /// </summary>
     [pbr::OriginalName("System")] System = 0,
     /// <summary>
-    /// 世界频道
+    /// 涓栫晫棰戦亾
     /// </summary>
     [pbr::OriginalName("World")] World = 1,
     /// <summary>
-    /// 公会频道
+    /// 鍏�細棰戦亾
     /// </summary>
     [pbr::OriginalName("Guild")] Guild = 2,
   }
@@ -67,7 +67,7 @@ namespace Chat {
 
   #region Messages
   /// <summary>
-  /// 聊天, 登录
+  /// 鑱婂ぉ, 鐧诲綍
   /// </summary>
   public sealed partial class CS_ChatLogin : pb::IMessage<CS_ChatLogin> {
     private static readonly pb::MessageParser<CS_ChatLogin> _parser = new pb::MessageParser<CS_ChatLogin>(() => new CS_ChatLogin());
@@ -243,7 +243,7 @@ namespace Chat {
   }
 
   /// <summary>
-  /// 聊天, 发送消息
+  /// 鑱婂ぉ, 鍙戦€佹秷鎭�
   /// </summary>
   public sealed partial class CS_ChatSendMsg : pb::IMessage<CS_ChatSendMsg> {
     private static readonly pb::MessageParser<CS_ChatSendMsg> _parser = new pb::MessageParser<CS_ChatSendMsg>(() => new CS_ChatSendMsg());
@@ -391,7 +391,7 @@ namespace Chat {
   }
 
   /// <summary>
-  /// 聊天, 初始化返回值
+  /// 鑱婂ぉ, 鍒濆�鍖栬繑鍥炲€�
   /// </summary>
   public sealed partial class SC_ChatLogin : pb::IMessage<SC_ChatLogin> {
     private static readonly pb::MessageParser<SC_ChatLogin> _parser = new pb::MessageParser<SC_ChatLogin>(() => new SC_ChatLogin());
@@ -429,7 +429,7 @@ namespace Chat {
     public const int CodeFieldNumber = 1;
     private global::Chat.SC_ChatLogin.Types.ErrorCode code_ = 0;
     /// <summary>
-    /// 错误码
+    /// 閿欒�鐮�
     /// </summary>
     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
     public global::Chat.SC_ChatLogin.Types.ErrorCode Code {
@@ -516,23 +516,23 @@ namespace Chat {
     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
     public static partial class Types {
       /// <summary>
-      /// 错误码
+      /// 閿欒�鐮�
       /// </summary>
       public enum ErrorCode {
         /// <summary>
-        /// 成功
+        /// 鎴愬姛
         /// </summary>
         [pbr::OriginalName("OK")] Ok = 0,
         /// <summary>
-        /// 未知的UID
+        /// 鏈�煡鐨刄ID
         /// </summary>
         [pbr::OriginalName("AccIDInvalid")] AccIdinvalid = 1,
         /// <summary>
-        /// 重复登入
+        /// 閲嶅�鐧诲叆
         /// </summary>
         [pbr::OriginalName("LoginRepeat")] LoginRepeat = 2,
         /// <summary>
-        /// 内部错误
+        /// 鍐呴儴閿欒�
         /// </summary>
         [pbr::OriginalName("InnerError")] InnerError = 3,
       }
@@ -543,7 +543,7 @@ namespace Chat {
   }
 
   /// <summary>
-  /// 聊天, 新的消息
+  /// 鑱婂ぉ, 鏂扮殑娑堟伅
   /// </summary>
   public sealed partial class SC_ChatNewMsg : pb::IMessage<SC_ChatNewMsg> {
     private static readonly pb::MessageParser<SC_ChatNewMsg> _parser = new pb::MessageParser<SC_ChatNewMsg>(() => new SC_ChatNewMsg());

+ 11 - 11
CSserver/PBReferens/pbcs/Fight.cs

@@ -49,7 +49,7 @@ namespace BossServer {
   }
   #region Messages
   /// <summary>
-  ///上报伤害输出
+  ///涓婃姤浼ゅ�杈撳嚭
   /// </summary>
   public sealed partial class CSFightReportDamage : pb::IMessage<CSFightReportDamage> {
     private static readonly pb::MessageParser<CSFightReportDamage> _parser = new pb::MessageParser<CSFightReportDamage>(() => new CSFightReportDamage());
@@ -87,7 +87,7 @@ namespace BossServer {
     public const int DamageFieldNumber = 1;
     private int damage_;
     /// <summary>
-    /// 伤害输出
+    /// 浼ゅ�杈撳嚭
     /// </summary>
     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
     public int Damage {
@@ -172,7 +172,7 @@ namespace BossServer {
   }
 
   /// <summary>
-  /// 上报玩家剩余血量
+  /// 涓婃姤鐜╁�鍓╀綑琛€閲�
   /// </summary>
   public sealed partial class CSReportUserHP : pb::IMessage<CSReportUserHP> {
     private static readonly pb::MessageParser<CSReportUserHP> _parser = new pb::MessageParser<CSReportUserHP>(() => new CSReportUserHP());
@@ -292,7 +292,7 @@ namespace BossServer {
   }
 
   /// <summary>
-  /// 结束(一般情况下是玩家血量到底主动退出)
+  /// 缁撴潫(涓€鑸�儏鍐典笅鏄�帺瀹惰�閲忓埌搴曚富鍔ㄩ€€鍑�)
   /// </summary>
   public sealed partial class CSLeaveFight : pb::IMessage<CSLeaveFight> {
     private static readonly pb::MessageParser<CSLeaveFight> _parser = new pb::MessageParser<CSLeaveFight>(() => new CSLeaveFight());
@@ -412,7 +412,7 @@ namespace BossServer {
   }
 
   /// <summary>
-  /// 从连接状态转入已经登陆状态(标记自己的uid和zoneid)
+  /// 浠庤繛鎺ョ姸鎬佽浆鍏ュ凡缁忕櫥闄嗙姸鎬�(鏍囪�鑷�繁鐨剈id鍜寊oneid)
   /// </summary>
   public sealed partial class CSEnterFight : pb::IMessage<CSEnterFight> {
     private static readonly pb::MessageParser<CSEnterFight> _parser = new pb::MessageParser<CSEnterFight>(() => new CSEnterFight());
@@ -588,7 +588,7 @@ namespace BossServer {
   }
 
   /// <summary>
-  /// 登陆完成
+  /// 鐧婚檰瀹屾垚
   /// </summary>
   public sealed partial class SCEnterFight : pb::IMessage<SCEnterFight> {
     private static readonly pb::MessageParser<SCEnterFight> _parser = new pb::MessageParser<SCEnterFight>(() => new SCEnterFight());
@@ -662,7 +662,7 @@ namespace BossServer {
     public const int CountDownFieldNumber = 4;
     private int countDown_;
     /// <summary>
-    /// 倒计时
+    /// 鍊掕�鏃�
     /// </summary>
     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
     public int CountDown {
@@ -795,7 +795,7 @@ namespace BossServer {
   }
 
   /// <summary>
-  /// 更新状态数据
+  /// 鏇存柊鐘舵€佹暟鎹�
   /// </summary>
   public sealed partial class SCUpdateProperties : pb::IMessage<SCUpdateProperties> {
     private static readonly pb::MessageParser<SCUpdateProperties> _parser = new pb::MessageParser<SCUpdateProperties>(() => new SCUpdateProperties());
@@ -857,7 +857,7 @@ namespace BossServer {
     public const int CountDownFieldNumber = 3;
     private int countDown_;
     /// <summary>
-    /// 倒计时
+    /// 鍊掕�鏃�
     /// </summary>
     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
     public int CountDown {
@@ -974,7 +974,7 @@ namespace BossServer {
   }
 
   /// <summary>
-  /// 战斗结束
+  /// 鎴樻枟缁撴潫
   /// </summary>
   public sealed partial class SCGameOver : pb::IMessage<SCGameOver> {
     private static readonly pb::MessageParser<SCGameOver> _parser = new pb::MessageParser<SCGameOver>(() => new SCGameOver());
@@ -1024,7 +1024,7 @@ namespace BossServer {
     public const int CountDownFieldNumber = 2;
     private int countDown_;
     /// <summary>
-    /// 倒计时
+    /// 鍊掕�鏃�
     /// </summary>
     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
     public int CountDown {