mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
22 lines
661 B
C#
22 lines
661 B
C#
using EggLink.DanhengServer.GameServer.Game.MultiPlayer;
|
|
using EggLink.DanhengServer.Kcp;
|
|
using EggLink.DanhengServer.Proto;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.Fight;
|
|
|
|
public class PacketFightSessionStopScNotify : BasePacket
|
|
{
|
|
public PacketFightSessionStopScNotify(BaseMultiPlayerGameRoomInstance room) : base(CmdIds.FightSessionStopScNotify)
|
|
{
|
|
var proto = new FightSessionStopScNotify
|
|
{
|
|
SessionInfo = new FightSessionInfo
|
|
{
|
|
SessionGameMode = room.GameMode,
|
|
SessionRoomId = (ulong)room.RoomId
|
|
}
|
|
};
|
|
|
|
SetData(proto);
|
|
}
|
|
} |