mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
22 lines
718 B
C#
22 lines
718 B
C#
using EggLink.DanhengServer.Enums.Rogue;
|
|
using EggLink.DanhengServer.GameServer.Game.Rogue;
|
|
using EggLink.DanhengServer.Kcp;
|
|
using EggLink.DanhengServer.Proto;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.RogueCommon;
|
|
|
|
public class PacketSyncRogueCommonPendingActionScNotify : BasePacket
|
|
{
|
|
public PacketSyncRogueCommonPendingActionScNotify(RogueActionInstance actionInstance, RogueSubModeEnum rogueSubmode)
|
|
: base(
|
|
CmdIds.SyncRogueCommonPendingActionScNotify)
|
|
{
|
|
var proto = new SyncRogueCommonPendingActionScNotify
|
|
{
|
|
Action = actionInstance.ToProto(),
|
|
RogueSubMode = (uint)rogueSubmode
|
|
};
|
|
|
|
SetData(proto);
|
|
}
|
|
} |