Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ namespace Exiled.Events.Patches.Events.Player
using static HarmonyLib.AccessTools;

/// <summary>
/// Patches <see cref="ReservedSlot.HasReservedSlot(string)" />.
/// Patches <see cref="CustomLiteNetLib4MirrorTransport.HasReservedSlot(string, CentralAuthPreauthFlags)" />.
/// Adds the <see cref="Player.ReservedSlot" /> event.
/// </summary>
[EventPatch(typeof(Player), nameof(Player.ReservedSlot))]
[HarmonyPatch(typeof(ReservedSlot), nameof(ReservedSlot.HasReservedSlot))]
[HarmonyPatch(typeof(CustomLiteNetLib4MirrorTransport), nameof(CustomLiteNetLib4MirrorTransport.HasReservedSlot))]
internal static class ReservedSlotPatch
{
private static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions, ILGenerator generator)
Expand Down
Loading