框架更新
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using ProtoBuf;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using MongoDB.Bson.Serialization.Attributes;
|
||||
using Fantasy;
|
||||
@@ -16,9 +17,9 @@ using Fantasy.Serialize;
|
||||
#pragma warning disable CS8618
|
||||
|
||||
namespace Fantasy
|
||||
{
|
||||
{
|
||||
[ProtoContract]
|
||||
public partial class C2A_LoginRequest : AMessage, IRequest, IProto
|
||||
public partial class C2A_LoginRequest : AMessage, IRequest
|
||||
{
|
||||
public static C2A_LoginRequest Create(Scene scene)
|
||||
{
|
||||
@@ -47,7 +48,7 @@ namespace Fantasy
|
||||
public int Region { get; set; }
|
||||
}
|
||||
[ProtoContract]
|
||||
public partial class A2C_LoginResponse : AMessage, IResponse, IProto
|
||||
public partial class A2C_LoginResponse : AMessage, IResponse
|
||||
{
|
||||
public static A2C_LoginResponse Create(Scene scene)
|
||||
{
|
||||
@@ -71,7 +72,7 @@ namespace Fantasy
|
||||
/// 客户端登录到Gate服务器
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class C2G_LoginRequest : AMessage, IRequest, IProto
|
||||
public partial class C2G_LoginRequest : AMessage, IRequest
|
||||
{
|
||||
public static C2G_LoginRequest Create(Scene scene)
|
||||
{
|
||||
@@ -91,7 +92,7 @@ namespace Fantasy
|
||||
public string ToKen { get; set; }
|
||||
}
|
||||
[ProtoContract]
|
||||
public partial class G2C_LoginResponse : AMessage, IResponse, IProto
|
||||
public partial class G2C_LoginResponse : AMessage, IResponse
|
||||
{
|
||||
public static G2C_LoginResponse Create(Scene scene)
|
||||
{
|
||||
@@ -115,7 +116,7 @@ namespace Fantasy
|
||||
/// 通知客户端重复登录
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class G2C_RepeatLogin : AMessage, IMessage, IProto
|
||||
public partial class G2C_RepeatLogin : AMessage, IMessage
|
||||
{
|
||||
public static G2C_RepeatLogin Create(Scene scene)
|
||||
{
|
||||
@@ -130,7 +131,7 @@ namespace Fantasy
|
||||
public uint OpCode() { return OuterOpcode.G2C_RepeatLogin; }
|
||||
}
|
||||
[ProtoContract]
|
||||
public partial class C2Game_GetRoleInfoRequest : AMessage, ICustomRouteRequest, IProto
|
||||
public partial class C2Game_GetRoleInfoRequest : AMessage, ICustomRouteRequest
|
||||
{
|
||||
public static C2Game_GetRoleInfoRequest Create(Scene scene)
|
||||
{
|
||||
@@ -149,7 +150,7 @@ namespace Fantasy
|
||||
public int RouteType => Fantasy.RouteType.GameRoute;
|
||||
}
|
||||
[ProtoContract]
|
||||
public partial class Game2C_GetRoleInfoResponse : AMessage, ICustomRouteResponse, IProto
|
||||
public partial class Game2C_GetRoleInfoResponse : AMessage, ICustomRouteResponse
|
||||
{
|
||||
public static Game2C_GetRoleInfoResponse Create(Scene scene)
|
||||
{
|
||||
@@ -173,3 +174,4 @@ namespace Fantasy
|
||||
public uint ErrorCode { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user