mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
28 lines
725 B
C#
28 lines
725 B
C#
using EggLink.DanhengServer.Kcp;
|
|
using EggLink.DanhengServer.Proto;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.Player;
|
|
|
|
public class PacketPlayerKickOutScNotify : BasePacket
|
|
{
|
|
public PacketPlayerKickOutScNotify() : base(CmdIds.PlayerKickOutScNotify)
|
|
{
|
|
var proto = new PlayerKickOutScNotify
|
|
{
|
|
KickType = KickType.KickSqueezed
|
|
};
|
|
SetData(proto);
|
|
}
|
|
|
|
public PacketPlayerKickOutScNotify(KickType type, BlackInfo? info = null) : base(CmdIds.PlayerKickOutScNotify)
|
|
{
|
|
var proto = new PlayerKickOutScNotify
|
|
{
|
|
KickType = type
|
|
};
|
|
|
|
if (info != null) proto.BlackInfo = info;
|
|
|
|
SetData(proto);
|
|
}
|
|
} |