MailDeleteRequest stub to prevent mail deletion softlock
And a bunch of TODOs.
This commit is contained in:
parent
2d9abd00f5
commit
3bda362626
|
@ -133,13 +133,14 @@ namespace AscNet.GameServer.Handlers
|
|||
}, packet.Id);
|
||||
}
|
||||
|
||||
/* TODO
|
||||
/* TODO Reconnection state resumption?
|
||||
[RequestPacketHandler("ReconnectAck")]
|
||||
public static void ReconnectAckHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
}
|
||||
*/
|
||||
|
||||
// TODO: Promo code
|
||||
[RequestPacketHandler("UseCdKeyRequest")]
|
||||
public static void UseCdKeyRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
|
|
|
@ -31,12 +31,14 @@ namespace AscNet.GameServer.Handlers
|
|||
|
||||
internal class BossModule
|
||||
{
|
||||
// TODO: Pain Cage entry
|
||||
[RequestPacketHandler("BossSingleRankInfoRequest")]
|
||||
public static void BossSingleRankInfoRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
session.SendResponse(new BossSingleRankInfoResponse() { Code = 1 }, packet.Id);
|
||||
}
|
||||
|
||||
// TODO: Co-op entry
|
||||
[RequestPacketHandler("GetActivityBossDataRequest")]
|
||||
public static void GetActivityBossDataRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
|
|
|
@ -35,12 +35,14 @@ namespace AscNet.GameServer.Handlers
|
|||
|
||||
internal class CoopModule
|
||||
{
|
||||
// TODO: Co-op room creation
|
||||
[RequestPacketHandler("CreateRoomRequest")]
|
||||
public static void CreateRoomRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
session.SendResponse(new CreateRoomResponse() { Code = 1 }, packet.Id);
|
||||
}
|
||||
|
||||
// TODO: Co-op room matchmaking
|
||||
[RequestPacketHandler("MatchRoomRequest")]
|
||||
public static void MatchRoomRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
|
|
|
@ -31,12 +31,14 @@ namespace AscNet.GameServer.Handlers
|
|||
|
||||
internal class DormModule
|
||||
{
|
||||
// TODO: Dorm entry
|
||||
[RequestPacketHandler("DormEnterRequest")]
|
||||
public static void DormEnterRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
session.SendResponse(new DormEnterResponse(), packet.Id);
|
||||
}
|
||||
|
||||
// TODO: Dorm list (called from Details section within account info menu)
|
||||
[RequestPacketHandler("DormitoryListRequest")]
|
||||
public static void DormitoryListRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
|
|
|
@ -346,6 +346,7 @@ namespace AscNet.GameServer.Handlers
|
|||
session.SendResponse(new EquipResonanceResponse() { ResonanceData = resonance }, packet.Id);
|
||||
}
|
||||
|
||||
// TODO: Equipment scrapping
|
||||
[RequestPacketHandler("EquipDecomposeRequest")]
|
||||
public static void EquipDecomposeRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
|
|
|
@ -22,6 +22,7 @@ namespace AscNet.GameServer.Handlers
|
|||
|
||||
internal class GuildModule
|
||||
{
|
||||
// TODO: Guild listing
|
||||
[RequestPacketHandler("GuildListRecommendRequest")]
|
||||
public static void GuildListRecommendRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
|
|
|
@ -40,6 +40,7 @@ namespace AscNet.GameServer.Handlers
|
|||
}, packet.Id);
|
||||
}
|
||||
|
||||
// TODO: Consumable item usage
|
||||
[RequestPacketHandler("ItemUseRequest")]
|
||||
public static void ItemUseRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
|
|
|
@ -4,26 +4,45 @@ 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 MailReadRequest
|
||||
{
|
||||
public string Id;
|
||||
}
|
||||
|
||||
[MessagePackObject(true)]
|
||||
public class MailReadResponse
|
||||
{
|
||||
public int Code;
|
||||
}
|
||||
|
||||
[MessagePackObject(true)]
|
||||
public class MailDeleteRequest
|
||||
{
|
||||
}
|
||||
|
||||
[MessagePackObject(true)]
|
||||
public class MailReadRequest
|
||||
public class MailDeleteResponse
|
||||
{
|
||||
public string Id;
|
||||
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 MailModule
|
||||
{
|
||||
// TODO: Read mail
|
||||
[RequestPacketHandler("MailReadRequest")]
|
||||
public static void MailReadRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
session.SendResponse(new MailReadResponse(), packet.Id);
|
||||
}
|
||||
|
||||
// TODO: Delete mail
|
||||
[RequestPacketHandler("MailDeleteRequest")]
|
||||
public static void MailDeleteRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
session.SendResponse(new MailDeleteResponse(), packet.Id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,6 +22,7 @@ namespace AscNet.GameServer.Handlers
|
|||
|
||||
internal class PartnerModule
|
||||
{
|
||||
// TODO: CUB combining
|
||||
[RequestPacketHandler("PartnerComposeRequest")]
|
||||
public static void PartnerComposeRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
|
|
|
@ -261,12 +261,14 @@ namespace AscNet.GameServer.Handlers
|
|||
session.SendResponse(new SetDisplayCharIdFirstResponse() { DisplayCharIdList = session.player.PlayerData.DisplayCharIdList }, packet.Id);
|
||||
}
|
||||
|
||||
// TODO: "Display Preview" button in Details section of account info menu
|
||||
[RequestPacketHandler("QueryPlayerDetailRequest")]
|
||||
public static void QueryPlayerDetailRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
session.SendResponse(new QueryPlayerDetailResponse() { Code = 1 }, packet.Id);
|
||||
}
|
||||
|
||||
|
||||
// TODO: "Save" button in Details section of account info menu
|
||||
[RequestPacketHandler("SetAppearanceRequest")]
|
||||
public static void SetAppearanceRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
|
|
|
@ -45,6 +45,7 @@ namespace AscNet.GameServer.Handlers
|
|||
session.SendResponse(rsp, packet.Id);
|
||||
}
|
||||
|
||||
// TODO: Dorm shop
|
||||
[RequestPacketHandler("GetShopBaseInfoRequest")]
|
||||
public static void GetShopBaseInfoRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
|
|
|
@ -27,7 +27,8 @@ namespace AscNet.GameServer.Handlers
|
|||
{
|
||||
session.SendResponse(new DoClientTaskEventResponse(), packet.Id);
|
||||
}
|
||||
|
||||
|
||||
// TODO: Reward acquisition from course reward line in Tasks menu
|
||||
[RequestPacketHandler("GetCourseRewardRequest")]
|
||||
public static void GetCourseRewardRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue