mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
24 lines
716 B
C#
24 lines
716 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);
|
|
}
|
|
}
|
|
}
|