mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
21 lines
603 B
C#
21 lines
603 B
C#
using EggLink.DanhengServer.GameServer.Game.GridFight;
|
|
using EggLink.DanhengServer.Kcp;
|
|
using EggLink.DanhengServer.Proto;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.GridFight;
|
|
|
|
public class PacketGridFightStartGamePlayScRsp : BasePacket
|
|
{
|
|
public PacketGridFightStartGamePlayScRsp(Retcode ret, GridFightInstance? inst) : base(CmdIds.GridFightStartGamePlayScRsp)
|
|
{
|
|
var rsp = new GridFightStartGamePlayScRsp
|
|
{
|
|
Retcode = (uint)ret
|
|
};
|
|
|
|
if (inst != null)
|
|
rsp.FightCurrentInfo = inst.ToProto();
|
|
|
|
SetData(rsp);
|
|
}
|
|
} |