mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
21 lines
744 B
C#
21 lines
744 B
C#
using EggLink.DanhengServer.GameServer.Game.ChessRogue;
|
|
using EggLink.DanhengServer.Kcp;
|
|
using EggLink.DanhengServer.Proto;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.ChessRogue;
|
|
|
|
public class PacketChessRogueLeaveScRsp : BasePacket
|
|
{
|
|
public PacketChessRogueLeaveScRsp(ChessRogueInstance instance) : base(CmdIds.ChessRogueLeaveScRsp)
|
|
{
|
|
var proto = new ChessRogueLeaveScRsp
|
|
{
|
|
StageInfo = instance.ToStageProto(),
|
|
QueryInfo = instance.Player.ChessRogueManager!.ToQueryInfo(),
|
|
RogueAeonInfo = instance.Player.ChessRogueManager!.ToRogueAeonInfo(),
|
|
RogueGetInfo = instance.Player.ChessRogueManager!.ToGetInfo()
|
|
};
|
|
|
|
SetData(proto);
|
|
}
|
|
} |