mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
18 lines
605 B
C#
18 lines
605 B
C#
using EggLink.DanhengServer.GameServer.Game.Rogue.Event;
|
|
using EggLink.DanhengServer.Kcp;
|
|
using EggLink.DanhengServer.Proto;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.RogueCommon;
|
|
|
|
public class PacketSyncRogueCommonDialogueDataScNotify : BasePacket
|
|
{
|
|
public PacketSyncRogueCommonDialogueDataScNotify(List<RogueEventInstance> rogueEvent) : base(
|
|
CmdIds.SyncRogueCommonDialogueDataScNotify)
|
|
{
|
|
var proto = new SyncRogueCommonDialogueDataScNotify();
|
|
|
|
proto.DialogueDataList.AddRange(rogueEvent.Select(x => x.ToProto()));
|
|
|
|
SetData(proto);
|
|
}
|
|
} |