mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
19 lines
553 B
C#
19 lines
553 B
C#
using EggLink.DanhengServer.GameServer.Game.Rogue.Scene;
|
|
using EggLink.DanhengServer.Kcp;
|
|
using EggLink.DanhengServer.Proto;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.Rogue;
|
|
|
|
public class PacketSyncRogueMapRoomScNotify : BasePacket
|
|
{
|
|
public PacketSyncRogueMapRoomScNotify(RogueRoomInstance room, int mapId) : base(CmdIds.SyncRogueMapRoomScNotify)
|
|
{
|
|
var proto = new SyncRogueMapRoomScNotify
|
|
{
|
|
CurRoom = room.ToProto(),
|
|
MapId = (uint)mapId
|
|
};
|
|
|
|
SetData(proto);
|
|
}
|
|
} |