mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
20 lines
670 B
C#
20 lines
670 B
C#
using EggLink.DanhengServer.GameServer.Game.Player;
|
|
using EggLink.DanhengServer.Kcp;
|
|
using EggLink.DanhengServer.Proto;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.Rogue;
|
|
|
|
public class PacketEnterRogueMapRoomScRsp : BasePacket
|
|
{
|
|
public PacketEnterRogueMapRoomScRsp(PlayerInstance player) : base(CmdIds.EnterRogueMapRoomScRsp)
|
|
{
|
|
var proto = new EnterRogueMapRoomScRsp
|
|
{
|
|
CurSiteId = (uint)(player.RogueManager?.RogueInstance?.CurRoom?.SiteId ?? 0),
|
|
Lineup = player.LineupManager!.GetCurLineup()!.ToProto(),
|
|
Scene = player.SceneInstance!.ToProto()
|
|
};
|
|
|
|
SetData(proto);
|
|
}
|
|
} |