[+] proto

This commit is contained in:
ALEXTANG
2023-05-17 21:38:44 +08:00
parent d8f8fd01d9
commit b04fff4ec9
7 changed files with 94 additions and 87 deletions

View File

@@ -51,6 +51,21 @@ namespace GameProto
[Serializable,global::ProtoBuf.ProtoContract(Name = @"CSPkgBody")]
public partial class CSPkgBody
{
[global::ProtoBuf.ProtoMember(1)]
public CSActLoginReq ActLoginReq { get; set; }
[global::ProtoBuf.ProtoMember(2)]
public CSActLoginRes ActLoginRes { get; set; }
}
// 消息结果
[Serializable,global::ProtoBuf.ProtoContract(Name = @"ProtoResult")]
public partial class ProtoResult
{
[global::ProtoBuf.ProtoMember(3)]
public List<string> Params = new List<string>();
}
// 协议ID

View File

@@ -0,0 +1,47 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
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; }
}
}