diff --git a/Luban/Proto/Gen/NetMsgId.cs b/Luban/Proto/Gen/NetMsgId.cs deleted file mode 100644 index ec489697..00000000 --- a/Luban/Proto/Gen/NetMsgId.cs +++ /dev/null @@ -1,27 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using ProtoBuf; -using TEngine; -using System.Collections.Generic; - -namespace GameProto -{ - public partial class NetMsgId - { - //心跳请求 - public const int CS_CMD_HEATBEAT_REQ = 1001; - //心跳回包 - public const int CS_CMD_HEATBEAT_RES = 1002; - //帐号登录请求 - public const int CS_CMD_ACT_LOGIN_REQ = 2001; - //帐号登录回包 - public const int CS_CMD_ACT_LOGIN_RES = 2002; - } -} \ No newline at end of file diff --git a/Luban/Proto/Gen/proto_cs.cs b/Luban/Proto/Gen/proto_cs.cs deleted file mode 100644 index 2769374e..00000000 --- a/Luban/Proto/Gen/proto_cs.cs +++ /dev/null @@ -1,80 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using ProtoBuf; -using TEngine; -using System.Collections.Generic; - -namespace GameProto -{ - // 这个文件只放协议,和协议头 - // 消息协议 - [Serializable,global::ProtoBuf.ProtoContract(Name = @"CSPkg")] - public partial class CSPkg - { - [global::ProtoBuf.ProtoMember(1)] - public CSPkgHead Head { get; set; } - - [global::ProtoBuf.ProtoMember(2)] - public CSPkgBody Body { get; set; } - - } - - // 消息协议头 - [Serializable,global::ProtoBuf.ProtoContract(Name = @"CSPkgHead")] - public partial class CSPkgHead - { - [global::ProtoBuf.ProtoMember(1)] - public uint MsgId { get; set; } - - [global::ProtoBuf.ProtoMember(2)] - public uint MsgLength { get; set; } - - [global::ProtoBuf.ProtoMember(3)] - public uint MsgVersion { get; set; } - - [global::ProtoBuf.ProtoMember(4)] - public uint Echo { get; set; } - - [global::ProtoBuf.ProtoMember(5)] - public uint SvrTime { get; set; } - - } - - // 消息协议体 - [Serializable,global::ProtoBuf.ProtoContract(Name = @"CSPkgBody")] - public partial class CSPkgBody - { - [global::ProtoBuf.ProtoMember(1)] - public CSHeatBeatReq HeatBeatReq { get; set; } - - [global::ProtoBuf.ProtoMember(2)] - public CSHeatBeatRes HeatBeatRes { get; set; } - - [global::ProtoBuf.ProtoMember(3)] - public CSActLoginReq ActLoginReq { get; set; } - - [global::ProtoBuf.ProtoMember(4)] - public CSActLoginRes ActLoginRes { get; set; } - - } - - // 协议ID - [global::ProtoBuf.ProtoContract()] - public enum CSMsgID - { - CS_START = 0, - - CS_HeartBeat = 10001, - - CS_END = 10000, - - } - -} diff --git a/Luban/Proto/Gen/proto_cs_common.cs b/Luban/Proto/Gen/proto_cs_common.cs deleted file mode 100644 index 9d610c1c..00000000 --- a/Luban/Proto/Gen/proto_cs_common.cs +++ /dev/null @@ -1,44 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using ProtoBuf; -using TEngine; -using System.Collections.Generic; - -namespace GameProto -{ - // 常用协议 - // 消息结果 - [Serializable,global::ProtoBuf.ProtoContract(Name = @"ProtoResult")] - public partial class ProtoResult - { - [global::ProtoBuf.ProtoMember(3)] - public List Params = new List(); - - } - - // 心跳请求 - [Serializable,global::ProtoBuf.ProtoContract(Name = @"CSHeatBeatReq")] - public partial class CSHeatBeatReq - { - [global::ProtoBuf.ProtoMember(1)] - public float HeatEchoTime { get; set; } - - } - - // 角色登录结果返回 - [Serializable,global::ProtoBuf.ProtoContract(Name = @"CSHeatBeatRes")] - public partial class CSHeatBeatRes - { - [global::ProtoBuf.ProtoMember(1)] - public float HeatEchoTime { get; set; } - - } - -} diff --git a/Luban/Proto/Gen/proto_cs_player.cs b/Luban/Proto/Gen/proto_cs_player.cs deleted file mode 100644 index f114c627..00000000 --- a/Luban/Proto/Gen/proto_cs_player.cs +++ /dev/null @@ -1,47 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using ProtoBuf; -using TEngine; -using System.Collections.Generic; - -namespace GameProto -{ - // 玩家协议 - // 角色登录结果请求 - [Serializable,global::ProtoBuf.ProtoContract(Name = @"CSActLoginReq")] - public partial class CSActLoginReq - { - [global::ProtoBuf.ProtoMember(1)] - public uint Uin { get; set; } - - [global::ProtoBuf.ProtoMember(2)] - public uint SvrID { get; set; } - - [global::ProtoBuf.ProtoMember(3)] - public uint AuthTime { get; set; } - - } - - // 角色登录结果返回 - [Serializable,global::ProtoBuf.ProtoContract(Name = @"CSActLoginRes")] - public partial class CSActLoginRes - { - [global::ProtoBuf.ProtoMember(1)] - public ProtoResult Result { get; set; } - - [global::ProtoBuf.ProtoMember(2)] - public uint Uin { get; set; } - - [global::ProtoBuf.ProtoMember(3)] - public uint RoleID { get; set; } - - } - -}