Files
DanhengServer-OpenSource/GameServer/Server/Packet/Send/Scene/PacketGroupStateChangeScNotify.cs
Somebody 87d228eb79 Feature:Asynchronous Operation & Formatting Code
- Now the async operation is enabled!
- Code formatted by Resharper plugin <3
2024-07-22 17:12:03 +08:00

23 lines
653 B
C#

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