提交背包获取协议
This commit is contained in:
@@ -142,6 +142,64 @@ namespace Fantasy
|
||||
public List<long> Removes = new List<long>();
|
||||
}
|
||||
/// <summary>
|
||||
/// /////////// ******** 钓组 *******/////////////
|
||||
/// </summary>
|
||||
/// <summary>
|
||||
/// 请求安装或取下配件
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class C2Game_RigChangeRequest : AMessage, ICustomRouteRequest, IProto
|
||||
{
|
||||
public static C2Game_RigChangeRequest Create(Scene scene)
|
||||
{
|
||||
return scene.MessagePoolComponent.Rent<C2Game_RigChangeRequest>();
|
||||
}
|
||||
public override void Dispose()
|
||||
{
|
||||
RodId = default;
|
||||
RigId = default;
|
||||
IsAdd = default;
|
||||
#if FANTASY_NET || FANTASY_UNITY
|
||||
GetScene().MessagePoolComponent.Return<C2Game_RigChangeRequest>(this);
|
||||
#endif
|
||||
}
|
||||
[ProtoIgnore]
|
||||
public Game2C_RigChangeResponse ResponseType { get; set; }
|
||||
public uint OpCode() { return OuterOpcode.C2Game_RigChangeRequest; }
|
||||
[ProtoIgnore]
|
||||
public int RouteType => Fantasy.RouteType.GameRoute;
|
||||
[ProtoMember(1)]
|
||||
public long RodId { get; set; }
|
||||
[ProtoMember(2)]
|
||||
public long RigId { get; set; }
|
||||
[ProtoMember(3)]
|
||||
public bool IsAdd { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 请求安装配件响应
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class Game2C_RigChangeResponse : AMessage, ICustomRouteResponse, IProto
|
||||
{
|
||||
public static Game2C_RigChangeResponse Create(Scene scene)
|
||||
{
|
||||
return scene.MessagePoolComponent.Rent<Game2C_RigChangeResponse>();
|
||||
}
|
||||
public override void Dispose()
|
||||
{
|
||||
ErrorCode = default;
|
||||
Rigs = default;
|
||||
#if FANTASY_NET || FANTASY_UNITY
|
||||
GetScene().MessagePoolComponent.Return<Game2C_RigChangeResponse>(this);
|
||||
#endif
|
||||
}
|
||||
public uint OpCode() { return OuterOpcode.Game2C_RigChangeResponse; }
|
||||
[ProtoMember(1)]
|
||||
public ItemBindInfo Rigs { get; set; }
|
||||
[ProtoMember(2)]
|
||||
public uint ErrorCode { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// /////////// ******** 鱼护 *******/////////////
|
||||
/// </summary>
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user