更新最新框架
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,12 +17,12 @@ using Fantasy.Serialize;
|
||||
#pragma warning disable CS8618
|
||||
|
||||
namespace Fantasy
|
||||
{
|
||||
{
|
||||
/// <summary>
|
||||
/// 请求创建房间
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class C2Map_CreateRoomRequest : AMessage, ICustomRouteRequest, IProto
|
||||
public partial class C2Map_CreateRoomRequest : AMessage, ICustomRouteRequest
|
||||
{
|
||||
public static C2Map_CreateRoomRequest Create(Scene scene)
|
||||
{
|
||||
@@ -46,7 +47,7 @@ namespace Fantasy
|
||||
/// 请求创建房间成功
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class Map2C_CreateRoomResponse : AMessage, ICustomRouteResponse, IProto
|
||||
public partial class Map2C_CreateRoomResponse : AMessage, ICustomRouteResponse
|
||||
{
|
||||
public static Map2C_CreateRoomResponse Create(Scene scene)
|
||||
{
|
||||
@@ -73,7 +74,7 @@ namespace Fantasy
|
||||
/// 请求网关离开房间(离开房间,但是不离开地图)
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class C2G_ExitRoomRequest : AMessage, IRequest, IProto
|
||||
public partial class C2G_ExitRoomRequest : AMessage, IRequest
|
||||
{
|
||||
public static C2G_ExitRoomRequest Create(Scene scene)
|
||||
{
|
||||
@@ -96,7 +97,7 @@ namespace Fantasy
|
||||
/// 请求网关进入离开响应
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class G2C_ExitRoomResponse : AMessage, IResponse, IProto
|
||||
public partial class G2C_ExitRoomResponse : AMessage, IResponse
|
||||
{
|
||||
public static G2C_ExitRoomResponse Create(Scene scene)
|
||||
{
|
||||
@@ -120,7 +121,7 @@ namespace Fantasy
|
||||
/// 请求网关进入地图
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class C2G_EnterMapRequest : AMessage, IRequest, IProto
|
||||
public partial class C2G_EnterMapRequest : AMessage, IRequest
|
||||
{
|
||||
public static C2G_EnterMapRequest Create(Scene scene)
|
||||
{
|
||||
@@ -146,7 +147,7 @@ namespace Fantasy
|
||||
/// 请求网关进入房间响应
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class G2C_EnterMapResponse : AMessage, IResponse, IProto
|
||||
public partial class G2C_EnterMapResponse : AMessage, IResponse
|
||||
{
|
||||
public static G2C_EnterMapResponse Create(Scene scene)
|
||||
{
|
||||
@@ -176,7 +177,7 @@ namespace Fantasy
|
||||
/// 通知客户端切换地图
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class Map2C_ChangeMap : AMessage, ICustomRouteMessage, IProto
|
||||
public partial class Map2C_ChangeMap : AMessage, ICustomRouteMessage
|
||||
{
|
||||
public static Map2C_ChangeMap Create(Scene scene)
|
||||
{
|
||||
@@ -199,3 +200,4 @@ namespace Fantasy
|
||||
public int Node { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user