Files
DanhengServer-OpenSource/GameServer/Server/Packet/Send/Raid/PacketRaidInfoNotify.cs
Somebody 91168483a7 Feature:Raid Save & Bug Fix
- Fix the save function
- Improve entering battle part
- Now /relic will not make a popup box
- Normal gacha now can work
- Better gacha item get
2024-07-07 11:31:37 +08:00

30 lines
856 B
C#

using EggLink.DanhengServer.Database.Scene;
using EggLink.DanhengServer.Proto;
using EggLink.DanhengServer.Server.Packet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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,
TargetInfo = { },
ItemList = new(),
};
SetData(proto);
}
}
}