mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
29 lines
783 B
C#
29 lines
783 B
C#
using EggLink.DanhengServer.Database.Scene;
|
|
using EggLink.DanhengServer.Kcp;
|
|
using EggLink.DanhengServer.Proto;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.Raid;
|
|
|
|
public class PacketRaidInfoNotify : BasePacket
|
|
{
|
|
public PacketRaidInfoNotify(RaidRecord record) : base(CmdIds.RaidInfoNotify)
|
|
{
|
|
var proto = new RaidInfoNotify
|
|
{
|
|
RaidId = (uint)record.RaidId,
|
|
Status = record.Status,
|
|
WorldLevel = (uint)record.WorldLevel,
|
|
RaidFinishTime = (ulong)record.FinishTimeStamp,
|
|
ItemList = new ItemList()
|
|
};
|
|
|
|
SetData(proto);
|
|
}
|
|
|
|
public PacketRaidInfoNotify() : base(CmdIds.RaidInfoNotify)
|
|
{
|
|
var proto = new RaidInfoNotify();
|
|
|
|
SetData(proto);
|
|
}
|
|
} |