-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathBattleContentInstantClearInfoHandler.cs
More file actions
51 lines (47 loc) · 1.79 KB
/
Copy pathBattleContentInstantClearInfoHandler.cs
File metadata and controls
51 lines (47 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
using Arrowgene.Ddon.Server;
using Arrowgene.Ddon.Shared.Entity.PacketStructure;
using Arrowgene.Ddon.Shared.Entity.Structure;
using Arrowgene.Ddon.Shared.Model;
using Arrowgene.Logging;
namespace Arrowgene.Ddon.GameServer.Handler
{
public class BattleContentInstantClearInfoHandler : GameRequestPacketHandler<C2SBattleContentInstantClearInfoReq, S2CBattleContentInstantClearInfoRes>
{
private static readonly ServerLogger Logger = LogProvider.Logger<ServerLogger>(typeof(BattleContentInstantClearInfoHandler));
public BattleContentInstantClearInfoHandler(DdonGameServer server) : base(server)
{
}
public override S2CBattleContentInstantClearInfoRes Handle(GameClient client, C2SBattleContentInstantClearInfoReq request)
{
S2CBattleContentInstantClearInfoRes res = new S2CBattleContentInstantClearInfoRes
{
Unk0 =
[
new CDataBattleContentUnk4
{
Unk0 = 2,
Unk1 = 0,
UnknownString = "Bitterblack Maze Rotunda: Netherworld 1",
WalletPoints =
[
new CDataWalletPoint
{
Type = WalletType.Gold,
Value = 123
}
],
Unk3 =
[
new CDataBattleContentUnk5
{
Unk0 = 2,
Unk1 = 2
}
]
}
]
};
return res;
}
}
}