Files
DanhengServer-OpenSource/GameServer/Server/Packet/Send/Scene/PacketGroupStateChangeScNotify.cs
2024-03-10 16:55:50 +08:00

24 lines
710 B
C#

using EggLink.DanhengServer.Enums;
using EggLink.DanhengServer.Proto;
namespace EggLink.DanhengServer.Server.Packet.Send.Scene
{
public class PacketGroupStateChangeScNotify : BasePacket
{
public PacketGroupStateChangeScNotify(int entryId, int groupId, PropStateEnum propState) : base(CmdIds.GroupStateChangeScNotify)
{
var notify = new GroupStateChangeScNotify()
{
GroupStateInfo = new GroupStateInfo()
{
EntryId = (uint)entryId,
GroupId = (uint)groupId,
GroupState = (uint)propState,
}
};
SetData(notify);
}
}
}