mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
21 lines
673 B
C#
21 lines
673 B
C#
using EggLink.DanhengServer.GameServer.Game.Player;
|
|
using EggLink.DanhengServer.Kcp;
|
|
using EggLink.DanhengServer.Proto;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.GridFight;
|
|
|
|
public class PacketGridFightGetDataScRsp : BasePacket
|
|
{
|
|
public PacketGridFightGetDataScRsp(PlayerInstance player) : base(CmdIds.GridFightGetDataScRsp)
|
|
{
|
|
var proto = new GridFightGetDataScRsp
|
|
{
|
|
RogueGetInfo = player.GridFightManager!.ToProto()
|
|
};
|
|
|
|
if (player.GridFightManager!.GridFightInstance != null)
|
|
proto.FightCurrentInfo = player.GridFightManager!.GridFightInstance.ToProto();
|
|
|
|
SetData(proto);
|
|
}
|
|
} |