BossSingleRankInfoRequest stub to prevent softlock when entering Pain Cage
This commit is contained in:
parent
aae1314558
commit
591b74e0b1
|
@ -0,0 +1,29 @@
|
||||||
|
using MessagePack;
|
||||||
|
|
||||||
|
namespace AscNet.GameServer.Handlers
|
||||||
|
{
|
||||||
|
|
||||||
|
#region MsgPackScheme
|
||||||
|
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
|
||||||
|
[MessagePackObject(true)]
|
||||||
|
public class BossSingleRankInfoRequest
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
[MessagePackObject(true)]
|
||||||
|
public class BossSingleRankInfoResponse
|
||||||
|
{
|
||||||
|
public int Code;
|
||||||
|
}
|
||||||
|
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
internal class BossModule
|
||||||
|
{
|
||||||
|
[RequestPacketHandler("BossSingleRankInfoRequest")]
|
||||||
|
public static void BossSingleRankInfoRequestHandler(Session session, Packet.Request packet)
|
||||||
|
{
|
||||||
|
session.SendResponse(new BossSingleRankInfoResponse() { Code = 1 }, packet.Id);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -41,7 +41,7 @@ namespace AscNet.GameServer.Handlers
|
||||||
}
|
}
|
||||||
|
|
||||||
[RequestPacketHandler("ItemUseRequest")]
|
[RequestPacketHandler("ItemUseRequest")]
|
||||||
public static void ItemUseRequest(Session session, Packet.Request packet)
|
public static void ItemUseRequestHandler(Session session, Packet.Request packet)
|
||||||
{
|
{
|
||||||
session.SendResponse(new ItemUseResponse() { Code = 1 }, packet.Id);
|
session.SendResponse(new ItemUseResponse() { Code = 1 }, packet.Id);
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,7 @@ namespace AscNet.GameServer.Handlers
|
||||||
}
|
}
|
||||||
|
|
||||||
[RequestPacketHandler("PayInitiatedRequest")]
|
[RequestPacketHandler("PayInitiatedRequest")]
|
||||||
public static void PayInitiatedRequest(Session session, Packet.Request packet)
|
public static void PayInitiatedRequestHandler(Session session, Packet.Request packet)
|
||||||
{
|
{
|
||||||
session.SendResponse(new PayInitiatedResponse() { Code = 1 }, packet.Id);
|
session.SendResponse(new PayInitiatedResponse() { Code = 1 }, packet.Id);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue