-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6883f77
commit d28951a
Showing
11 changed files
with
165 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
using Arrowgene.Ddon.Server.Network; | ||
|
||
namespace Arrowgene.Ddon.GameServer.Dump | ||
{ | ||
public class SelectedDump | ||
{ | ||
// only the finest dump of the dumpster | ||
|
||
public static byte[] data_Dump_93047 = new byte[] /* 13.0.2 */ | ||
{ | ||
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x8F, 0x0, 0x0, 0x0, 0x0, | ||
0xA, 0x0, 0xC1, 0xA5, 0xB6, 0x67, 0x3, 0x1, 0xB, 0x8, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, | ||
0x2, 0x4, 0x3, 0x0, 0x0, 0xC, 0x56, 0x0, 0x0, 0x0, 0x0, 0x0, 0x64, 0x0, 0x64, 0x0, | ||
0x0, 0x0, 0x1, 0x0, 0x4, 0x0, 0x0, 0x2, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, | ||
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 | ||
}; | ||
|
||
public static Packet Dump_93047 = new Packet(new PacketId(13, 0, 2, "S2C_INSTANCE_GET_ENEMY_SET_LIST_RES"), data_Dump_93047); | ||
|
||
public static byte[] data_Dump_93283 = new byte[] /* 13.5.2 */ | ||
{ | ||
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x8F, 0x0, 0x0, 0x0, 0x0, | ||
0xFA, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0xB1, 0xD3, 0x80, 0x0, 0x0, 0x0, | ||
0x0, 0x0, 0x0, 0xA1, 0x0, 0x1, 0x1 | ||
}; | ||
|
||
public static Packet Dump_93283 = new Packet(new PacketId(13, 5, 2, "S2C_INSTANCE_GET_ITEM_SET_LIST_RES"), data_Dump_93283); | ||
|
||
|
||
public static byte[] data_Dump_1715 = new byte[] /* 35.7.2 */ | ||
{ | ||
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9F, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x0, | ||
0x0, 0x0, 0x0, 0x7, 0xD0, 0x40, 0x1 | ||
}; | ||
|
||
public static Packet Dump_1715 = new Packet(new PacketId(35, 7, 2, "S2C_CONTEXT_GET_SET_CONTEXT_RES"), data_Dump_1715); | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
Arrowgene.Ddon.GameServer/Handler/ContextGetSetContextHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ContextGetSetContextHandler : PacketHandler<GameClient> | ||
{ | ||
private static readonly DdonLogger Logger = LogProvider.Logger<DdonLogger>(typeof(ContextGetSetContextHandler)); | ||
|
||
|
||
public ContextGetSetContextHandler(DdonGameServer server) : base(server) | ||
{ | ||
} | ||
|
||
public override PacketId Id => PacketId.C2S_CONTEXT_GET_SET_CONTEXT_REQ; | ||
|
||
public override void Handle(GameClient client, Packet packet) | ||
{ | ||
client.Send(SelectedDump.Dump_1715); | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
Arrowgene.Ddon.GameServer/Handler/InstanceGetEnemySetListHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 InstanceGetEnemySetListHandler : PacketHandler<GameClient> | ||
{ | ||
private static readonly DdonLogger Logger = LogProvider.Logger<DdonLogger>(typeof(InstanceGetEnemySetListHandler)); | ||
|
||
|
||
public InstanceGetEnemySetListHandler(DdonGameServer server) : base(server) | ||
{ | ||
} | ||
|
||
public override PacketId Id => PacketId.C2S_INSTANCE_GET_ENEMY_SET_LIST_REQ; | ||
|
||
public override void Handle(GameClient client, Packet packet) | ||
{ | ||
client.Send(SelectedDump.Dump_93047); | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
Arrowgene.Ddon.GameServer/Handler/InstanceGetItemSetListHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 InstanceGetItemSetListHandler : PacketHandler<GameClient> | ||
{ | ||
private static readonly DdonLogger Logger = LogProvider.Logger<DdonLogger>(typeof(InstanceGetItemSetListHandler)); | ||
|
||
|
||
public InstanceGetItemSetListHandler(DdonGameServer server) : base(server) | ||
{ | ||
} | ||
|
||
public override PacketId Id => PacketId.C2S_INSTANCE_GET_ITEM_SET_LIST_REQ; | ||
|
||
public override void Handle(GameClient client, Packet packet) | ||
{ | ||
client.Send(SelectedDump.Dump_93283); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters