Files
DanhengServer-OpenSource/GameServer/Server/Packet/Send/Scene/PacketGroupStateChangeScNotify.cs

24 lines
697 B
C#

using EggLink.DanhengServer.Enums.Scene;
using EggLink.DanhengServer.Kcp;
using EggLink.DanhengServer.Proto;
namespace EggLink.DanhengServer.GameServer.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);
}
}