@@ -1,6 +1,5 @@
|
||||
using ProtoBuf;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using MongoDB.Bson.Serialization.Attributes;
|
||||
using Fantasy;
|
||||
@@ -17,12 +16,12 @@ using Fantasy.Serialize;
|
||||
#pragma warning disable CS8618
|
||||
|
||||
namespace Fantasy
|
||||
{
|
||||
{
|
||||
/// <summary>
|
||||
/// 通知游戏服角色进入该游戏服
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class G2Common_EnterRequest : AMessage, IRouteRequest
|
||||
public partial class G2Common_EnterRequest : AMessage, IRouteRequest, IProto
|
||||
{
|
||||
public static G2Common_EnterRequest Create(Scene scene)
|
||||
{
|
||||
@@ -48,7 +47,7 @@ namespace Fantasy
|
||||
public int RouteType { get; set; }
|
||||
}
|
||||
[ProtoContract]
|
||||
public partial class G2Common_EnterResponse : AMessage, IRouteResponse
|
||||
public partial class G2Common_EnterResponse : AMessage, IRouteResponse, IProto
|
||||
{
|
||||
public static G2Common_EnterResponse Create(Scene scene)
|
||||
{
|
||||
@@ -72,7 +71,7 @@ namespace Fantasy
|
||||
public uint ErrorCode { get; set; }
|
||||
}
|
||||
[ProtoContract]
|
||||
public partial class G2Common_ExitRequest : AMessage, IRouteRequest
|
||||
public partial class G2Common_ExitRequest : AMessage, IRouteRequest, IProto
|
||||
{
|
||||
public static G2Common_ExitRequest Create(Scene scene)
|
||||
{
|
||||
@@ -95,7 +94,7 @@ namespace Fantasy
|
||||
public long GateRouteId { get; set; }
|
||||
}
|
||||
[ProtoContract]
|
||||
public partial class Common2G_ExitResponse : AMessage, IRouteResponse
|
||||
public partial class Common2G_ExitResponse : AMessage, IRouteResponse, IProto
|
||||
{
|
||||
public static Common2G_ExitResponse Create(Scene scene)
|
||||
{
|
||||
@@ -116,7 +115,7 @@ namespace Fantasy
|
||||
/// 获取玩家基础信息
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class S2G_GetPlayerBasicInfoRequest : AMessage, IRouteRequest
|
||||
public partial class S2G_GetPlayerBasicInfoRequest : AMessage, IRouteRequest, IProto
|
||||
{
|
||||
public static S2G_GetPlayerBasicInfoRequest Create(Scene scene)
|
||||
{
|
||||
@@ -139,7 +138,7 @@ namespace Fantasy
|
||||
/// 获取玩家基础信息响应
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class G2S_GetPlayerBasicInfoResponse : AMessage, IRouteResponse
|
||||
public partial class G2S_GetPlayerBasicInfoResponse : AMessage, IRouteResponse, IProto
|
||||
{
|
||||
public static G2S_GetPlayerBasicInfoResponse Create(Scene scene)
|
||||
{
|
||||
@@ -160,7 +159,7 @@ namespace Fantasy
|
||||
public uint ErrorCode { get; set; }
|
||||
}
|
||||
[ProtoContract]
|
||||
public partial class S2G_ChatMessage : AMessage, IRouteMessage
|
||||
public partial class S2G_ChatMessage : AMessage, IRouteMessage, IProto
|
||||
{
|
||||
public static S2G_ChatMessage Create(Scene scene)
|
||||
{
|
||||
@@ -184,7 +183,7 @@ namespace Fantasy
|
||||
/// 创建聊天频道
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class Club2Chat_CreateChannel : AMessage, IRouteMessage
|
||||
public partial class Club2Chat_CreateChannel : AMessage, IRouteMessage, IProto
|
||||
{
|
||||
public static Club2Chat_CreateChannel Create(Scene scene)
|
||||
{
|
||||
@@ -205,7 +204,7 @@ namespace Fantasy
|
||||
/// 请求进入房间
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class G2Map_EnterMapRequest : AMessage, IRouteRequest
|
||||
public partial class G2Map_EnterMapRequest : AMessage, IRouteRequest, IProto
|
||||
{
|
||||
public static G2Map_EnterMapRequest Create(Scene scene)
|
||||
{
|
||||
@@ -234,7 +233,7 @@ namespace Fantasy
|
||||
/// 请求进入房间响应
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class Map2G_EnterMapResponse : AMessage, IRouteResponse
|
||||
public partial class Map2G_EnterMapResponse : AMessage, IRouteResponse, IProto
|
||||
{
|
||||
public static Map2G_EnterMapResponse Create(Scene scene)
|
||||
{
|
||||
@@ -264,7 +263,7 @@ namespace Fantasy
|
||||
/// 请求离开房间
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class G2Map_ExitRoomRequest : AMessage, IRouteRequest
|
||||
public partial class G2Map_ExitRoomRequest : AMessage, IRouteRequest, IProto
|
||||
{
|
||||
public static G2Map_ExitRoomRequest Create(Scene scene)
|
||||
{
|
||||
@@ -290,7 +289,7 @@ namespace Fantasy
|
||||
/// 请求离开房间响应
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class Map2G_ExiRoomResponse : AMessage, IRouteResponse
|
||||
public partial class Map2G_ExiRoomResponse : AMessage, IRouteResponse, IProto
|
||||
{
|
||||
public static Map2G_ExiRoomResponse Create(Scene scene)
|
||||
{
|
||||
@@ -308,4 +307,3 @@ namespace Fantasy
|
||||
public uint ErrorCode { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user