mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 12:46:03 +08:00
13 lines
477 B
C#
13 lines
477 B
C#
using EggLink.DanhengServer.Kcp;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Server.Packet.Recv.ChessRogue;
|
|
|
|
[Opcode(CmdIds.ChessRogueReRollDiceCsReq)]
|
|
public class HandlerChessRogueReRollDiceCsReq : Handler
|
|
{
|
|
public override async Task OnHandle(Connection connection, byte[] header, byte[] data)
|
|
{
|
|
if (connection.Player!.ChessRogueManager?.RogueInstance == null) return;
|
|
await connection.Player!.ChessRogueManager.RogueInstance.ReRollDice();
|
|
}
|
|
} |