Skip to content

Commit

Permalink
WORLD LOADS
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-heinz committed Jan 11, 2022
1 parent d485c01 commit 49e68b5
Show file tree
Hide file tree
Showing 8 changed files with 175 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Arrowgene.Ddon.GameServer/DdonGameServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,14 @@ private void LoadPacketHandler()

AddHandler(new ClientChallengeHandler(this));

AddHandler(new ConnectionGetLoginAnnouncementHandler(this));
AddHandler(new ConnectionLoginHandler(this));
AddHandler(new ConnectionMoveInServerHandler(this));
AddHandler(new ConnectionMoveOutServerHandler(this));
AddHandler(new ConnectionPingHandler(this));
AddHandler(new ConnectionReserveServerHandler(this));

AddHandler(new DailyMissionListGetHandler(this));
AddHandler(new EquipGetCharacterEquipListHandler(this));

AddHandler(new FriendGetFriendListHandler(this));
Expand Down Expand Up @@ -117,9 +119,13 @@ private void LoadPacketHandler()
AddHandler(new PartyPartyCreateHandler(this));

AddHandler(new PawnGetMyPawnListHandler(this));
AddHandler(new PawnGetNoraPawnListHandler(this));
AddHandler(new PawnGetRentedPawnListHandler(this));

AddHandler(new QuestGetCycleContentsStateListHandler(this));
AddHandler(new QuestGetMainQuestListHandler(this));
AddHandler(new QuestGetQuestCompletedListHandler(this));
AddHandler(new QuestGetWorldManageQuestListHandler(this));

AddHandler(new ServerGameTimeGetBaseinfoHandler(this));
AddHandler(new ServerGetGameSettingHandler(this));
Expand All @@ -136,6 +142,7 @@ private void LoadPacketHandler()
AddHandler(new WarpGetFavoriteWarpPointListHandler(this));
AddHandler(new WarpGetReleaseWarpPointListHandler(this));
AddHandler(new WarpGetStartPointListHandler(this));
AddHandler(new WarpGetWarpPointListHandler(this));
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using Arrowgene.Ddon.GameServer.Dump;
using Arrowgene.Ddon.Server.Logging;
using Arrowgene.Ddon.Server.Network;
using Arrowgene.Logging;

namespace Arrowgene.Ddon.GameServer.Handler
{
public class ConnectionGetLoginAnnouncementHandler : PacketHandler<GameClient>
{
private static readonly DdonLogger Logger = LogProvider.Logger<DdonLogger>(typeof(ConnectionGetLoginAnnouncementHandler));


public ConnectionGetLoginAnnouncementHandler(DdonGameServer server) : base(server)
{
}

public override PacketId Id => PacketId.C2S_CONNECTION_GET_LOGIN_ANNOUNCEMENT_REQ;

public override void Handle(GameClient client, Packet packet)
{
client.Send(GameFull.Dump_153);
}
}
}
24 changes: 24 additions & 0 deletions Arrowgene.Ddon.GameServer/Handler/DailyMissionListGetHandler.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using Arrowgene.Ddon.GameServer.Dump;
using Arrowgene.Ddon.Server.Logging;
using Arrowgene.Ddon.Server.Network;
using Arrowgene.Logging;

namespace Arrowgene.Ddon.GameServer.Handler
{
public class DailyMissionListGetHandler : PacketHandler<GameClient>
{
private static readonly DdonLogger Logger = LogProvider.Logger<DdonLogger>(typeof(DailyMissionListGetHandler));


public DailyMissionListGetHandler(DdonGameServer server) : base(server)
{
}

public override PacketId Id => PacketId.C2S_DAILY_MISSION_LIST_GET_REQ;

public override void Handle(GameClient client, Packet packet)
{
client.Send(GameFull.Dump_119);
}
}
}
24 changes: 24 additions & 0 deletions Arrowgene.Ddon.GameServer/Handler/PawnGetNoraPawnListHandler.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using Arrowgene.Ddon.GameServer.Dump;
using Arrowgene.Ddon.Server.Logging;
using Arrowgene.Ddon.Server.Network;
using Arrowgene.Logging;

namespace Arrowgene.Ddon.GameServer.Handler
{
public class PawnGetNoraPawnListHandler : PacketHandler<GameClient>
{
private static readonly DdonLogger Logger = LogProvider.Logger<DdonLogger>(typeof(PawnGetNoraPawnListHandler));


public PawnGetNoraPawnListHandler(DdonGameServer server) : base(server)
{
}

public override PacketId Id => PacketId.C2S_PAWN_GET_NORA_PAWN_LIST_REQ;

public override void Handle(GameClient client, Packet packet)
{
client.Send(GameFull.Dump_118);
}
}
}
24 changes: 24 additions & 0 deletions Arrowgene.Ddon.GameServer/Handler/QuestGetMainQuestListHandler.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using Arrowgene.Ddon.GameServer.Dump;
using Arrowgene.Ddon.Server.Logging;
using Arrowgene.Ddon.Server.Network;
using Arrowgene.Logging;

namespace Arrowgene.Ddon.GameServer.Handler
{
public class QuestGetMainQuestListHandler : PacketHandler<GameClient>
{
private static readonly DdonLogger Logger = LogProvider.Logger<DdonLogger>(typeof(QuestGetMainQuestListHandler));


public QuestGetMainQuestListHandler(DdonGameServer server) : base(server)
{
}

public override PacketId Id => PacketId.C2S_QUEST_GET_MAIN_QUEST_LIST_REQ;

public override void Handle(GameClient client, Packet packet)
{
client.Send(GameFull.Dump_123);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using Arrowgene.Ddon.GameServer.Dump;
using Arrowgene.Ddon.Server.Logging;
using Arrowgene.Ddon.Server.Network;
using Arrowgene.Logging;

namespace Arrowgene.Ddon.GameServer.Handler
{
public class QuestGetQuestCompletedListHandler : PacketHandler<GameClient>
{
private static readonly DdonLogger Logger = LogProvider.Logger<DdonLogger>(typeof(QuestGetQuestCompletedListHandler));


public QuestGetQuestCompletedListHandler(DdonGameServer server) : base(server)
{
}

public override PacketId Id => PacketId.C2S_QUEST_GET_QUEST_COMPLETE_LIST_REQ;

public override void Handle(GameClient client, Packet packet)
{
client.Send(GameFull.Dump_126);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using Arrowgene.Ddon.GameServer.Dump;
using Arrowgene.Ddon.Server.Logging;
using Arrowgene.Ddon.Server.Network;
using Arrowgene.Logging;

namespace Arrowgene.Ddon.GameServer.Handler
{
public class QuestGetWorldManageQuestListHandler : PacketHandler<GameClient>
{
private static readonly DdonLogger Logger = LogProvider.Logger<DdonLogger>(typeof(QuestGetWorldManageQuestListHandler));


public QuestGetWorldManageQuestListHandler(DdonGameServer server) : base(server)
{
}

public override PacketId Id => PacketId.C2S_QUEST_GET_WORLD_MANAGE_QUEST_LIST_REQ;

public override void Handle(GameClient client, Packet packet)
{
client.Send(GameFull.Dump_121);
}
}
}
24 changes: 24 additions & 0 deletions Arrowgene.Ddon.GameServer/Handler/WarpGetWarpPointListHandler.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using Arrowgene.Ddon.GameServer.Dump;
using Arrowgene.Ddon.Server.Logging;
using Arrowgene.Ddon.Server.Network;
using Arrowgene.Logging;

namespace Arrowgene.Ddon.GameServer.Handler
{
public class WarpGetWarpPointListHandler : PacketHandler<GameClient>
{
private static readonly DdonLogger Logger = LogProvider.Logger<DdonLogger>(typeof(WarpGetWarpPointListHandler));


public WarpGetWarpPointListHandler(DdonGameServer server) : base(server)
{
}

public override PacketId Id => PacketId.C2S_WARP_GET_WARP_POINT_LIST_REQ;

public override void Handle(GameClient client, Packet packet)
{
client.Send(GameFull.Dump_140);
}
}
}

0 comments on commit 49e68b5

Please sign in to comment.