public override void SendPacket(ServerPlayer player, IBasePacket packet) { SendPacket(player.SteamId, packet); }
public abstract void SendPacket(ServerPlayer player, IBasePacket packet);
public override void DisconnectPlayer(ServerPlayer player, string reason) { Enum.TryParse(reason, out DenyReason dr); _socket.Disconnect(player.SteamId, (int)dr); }
public abstract void DisconnectPlayer(ServerPlayer player, string reason);