-
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
Showing
59 changed files
with
3,406 additions
and
85 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
25 changes: 25 additions & 0 deletions
25
Arrowgene.Ddon.GameServer/Handler/BinarySaveSetCharacterBinSavedataHandler.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,25 @@ | ||
using Arrowgene.Ddon.GameServer.Dump; | ||
using Arrowgene.Ddon.Server; | ||
using Arrowgene.Ddon.Server.Network; | ||
using Arrowgene.Ddon.Shared.Network; | ||
using Arrowgene.Logging; | ||
|
||
namespace Arrowgene.Ddon.GameServer.Handler | ||
{ | ||
public class BinarySaveSetCharacterBinSavedataHandler : PacketHandler<GameClient> | ||
{ | ||
private static readonly ServerLogger Logger = LogProvider.Logger<ServerLogger>(typeof(BinarySaveSetCharacterBinSavedataHandler)); | ||
|
||
|
||
public BinarySaveSetCharacterBinSavedataHandler(DdonGameServer server) : base(server) | ||
{ | ||
} | ||
|
||
public override PacketId Id => PacketId.C2S_BINARY_SAVE_SET_CHARACTER_BIN_SAVEDATA_REQ; | ||
|
||
public override void Handle(GameClient client, IPacket packet) | ||
{ | ||
client.Send(SelectedDump.AntiDc9_1_2); | ||
} | ||
} | ||
} |
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
26 changes: 26 additions & 0 deletions
26
Arrowgene.Ddon.GameServer/Handler/CharacterPawnGoldenReviveHandler.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,26 @@ | ||
using Arrowgene.Ddon.Server; | ||
using Arrowgene.Ddon.Server.Network; | ||
using Arrowgene.Ddon.Shared.Network; | ||
using Arrowgene.Logging; | ||
using Arrowgene.Ddon.Shared.Entity.PacketStructure; | ||
|
||
namespace Arrowgene.Ddon.GameServer.Handler | ||
{ | ||
public class CharacterPawnGoldenReviveHandler : StructurePacketHandler<GameClient, C2SCharacterPawnGoldenReviveReq> | ||
{ | ||
private static readonly ServerLogger Logger = LogProvider.Logger<ServerLogger>(typeof(CharacterPawnGoldenReviveHandler)); | ||
|
||
|
||
public CharacterPawnGoldenReviveHandler(DdonGameServer server) : base(server) | ||
{ | ||
} | ||
|
||
|
||
public override void Handle(GameClient client, StructurePacket<C2SCharacterPawnGoldenReviveReq> req) | ||
{ | ||
S2CCharacterPawnGoldenReviveRes res = new S2CCharacterPawnGoldenReviveRes(req.Structure); | ||
res.GoldenGemstonePoint = 120; | ||
client.Send(res); | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
Arrowgene.Ddon.GameServer/Handler/CharacterPawnPointReviveHandler.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,26 @@ | ||
using Arrowgene.Ddon.Server; | ||
using Arrowgene.Ddon.Server.Network; | ||
using Arrowgene.Ddon.Shared.Network; | ||
using Arrowgene.Logging; | ||
using Arrowgene.Ddon.Shared.Entity.PacketStructure; | ||
|
||
namespace Arrowgene.Ddon.GameServer.Handler | ||
{ | ||
public class CharacterPawnPointReviveHandler : StructurePacketHandler<GameClient, C2SCharacterPawnPointReviveReq> | ||
{ | ||
private static readonly ServerLogger Logger = LogProvider.Logger<ServerLogger>(typeof(CharacterPawnPointReviveHandler)); | ||
|
||
|
||
public CharacterPawnPointReviveHandler(DdonGameServer server) : base(server) | ||
{ | ||
} | ||
|
||
|
||
public override void Handle(GameClient client, StructurePacket<C2SCharacterPawnPointReviveReq> req) | ||
{ | ||
S2CCharacterPawnPointReviveRes res = new S2CCharacterPawnPointReviveRes(req.Structure); | ||
res.RevivePoint = 3; | ||
client.Send(res); | ||
} | ||
} | ||
} |
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
Oops, something went wrong.