Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
NaoUnderscore committed Jul 19, 2024
2 parents 1a9d0bc + 654215c commit a07c88c
Show file tree
Hide file tree
Showing 35 changed files with 32 additions and 232 deletions.
69 changes: 0 additions & 69 deletions .github/workflows/Resonance.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch:

env:
EXILED_REFERENCES_URL: https://misaka-zerotwo.github.io/SL-References/Dev.zip
EXILED_REFERENCES_URL: https://cdn.exiled.to/Dev.zip
EXILED_REFERENCES_PATH: ${{ github.workspace }}/References
EXILED_DLL_ARCHIVER_URL: https://github.com/Exiled-Team/EXILED-DLL-Archiver/releases/latest/download/EXILED-DLL-Archiver.exe

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- master

env:
EXILED_REFERENCES_URL: https://misaka-zerotwo.github.io/SL-References/Master.zip
EXILED_REFERENCES_URL: https://cdn.exiled.to/Dev.zip
EXILED_REFERENCES_PATH: ${{ github.workspace }}/References

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- master

env:
EXILED_REFERENCES_URL: https://misaka-zerotwo.github.io/SL-References/Master.zip
EXILED_REFERENCES_URL: https://cdn.exiled.to/Dev.zip
EXILED_REFERENCES_PATH: ${{ github.workspace }}/References

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push_nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

env:
EXILED_REFERENCES_URL: https://misaka-zerotwo.github.io/SL-References/Master.zip
EXILED_REFERENCES_URL: https://cdn.exiled.to/Dev.zip
EXILED_REFERENCES_PATH: ${{ github.workspace }}/References

jobs:
Expand Down
2 changes: 1 addition & 1 deletion Exiled.CreditTags/Commands/ShowCreditTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class ShowCreditTag : ICommand
/// <inheritdoc/>
public string Description { get; } = "Shows your EXILED Credits tag, if available.";

/// <inheritdoc />
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/Config/Merge.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class Merge : ICommand
/// <inheritdoc/>
public string Description { get; } = "Merges your configs into the default config distribution.";

/// <inheritdoc />
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/Config/Split.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class Split : ICommand
/// <inheritdoc/>
public string Description { get; } = "Splits your configs into the separated config distribution.";

/// <inheritdoc />
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/ConfigValue/Get.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class Get : ICommand
/// <inheritdoc/>
public string Description { get; } = "Gets a config value";

/// <inheritdoc/>
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/ConfigValue/Set.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class Set : ICommand
/// <inheritdoc/>
public string Description { get; } = "Sets a config value";

/// <inheritdoc/>
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/PluginManager/Disable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public sealed class Disable : ICommand, IPermissioned
/// <inheritdoc/>
public string Description { get; } = "Disable a plugin.";

/// <inheritdoc />
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/PluginManager/DisplaySubscribed.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class DisplaySubscribed : IPermissioned, ICommand
/// <inheritdoc/>
public string Description { get; } = "Displays plugins that are subscribed to the event.";

/// <inheritdoc/>
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; } = true;

/// <inheritdoc/>
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/PluginManager/Enable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public sealed class Enable : ICommand, IPermissioned
/// <inheritdoc/>
public string Description { get; } = "Enable a plugin";

/// <inheritdoc />
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/PluginManager/Install.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class Install : ICommand
/// <inheritdoc/>
public string Description { get; } = "Installs a plugin";

/// <inheritdoc/>
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/PluginManager/Patches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public sealed class Patches : ICommand, IPermissioned
/// <inheritdoc/>
public string Description { get; } = "Returns information about all patches (whether they are patched or not)";

/// <inheritdoc />
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/PluginManager/Plugins.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class Plugins : IPermissioned, ICommand
/// <inheritdoc/>
public string Description { get; } = "Gets a list of all verified plugins.";

/// <inheritdoc/>
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/PluginManager/Show.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public sealed class Show : ICommand, IPermissioned
/// <inheritdoc/>
public string Description { get; } = "Get all plugins, names, authors and versions";

/// <inheritdoc />
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/Reload/All.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class All : ICommand
/// <inheritdoc/>
public string Description { get; } = "Reload all configs and plugins.";

/// <inheritdoc />
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc/>
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/Reload/Configs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class Configs : ICommand, IPermissioned
/// <inheritdoc/>
public string Description { get; } = "Reload plugin configs.";

/// <inheritdoc />
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/Reload/GamePlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class GamePlay : ICommand, IPermissioned
/// <inheritdoc/>
public string Description { get; } = "Reloads gameplay configs.";

/// <inheritdoc />
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/Reload/Permissions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class Permissions : ICommand, IPermissioned
/// <inheritdoc/>
public string Description { get; } = "Reload permissions.";

/// <inheritdoc />
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/Reload/Plugins.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class Plugins : ICommand, IPermissioned
/// <inheritdoc/>
public string Description { get; } = "Reloads all plugins.";

/// <inheritdoc />
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/Reload/RemoteAdmin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class RemoteAdmin : ICommand, IPermissioned
/// <inheritdoc/>
public string Description { get; } = "Reloads remote admin configs.";

/// <inheritdoc />
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/Reload/Translations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class Translations : ICommand, IPermissioned
/// <inheritdoc/>
public string Description { get; } = "Reload plugin translations.";

/// <inheritdoc />
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; }

/// <inheritdoc />
Expand Down
2 changes: 1 addition & 1 deletion Exiled.Events/Commands/TpsCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class TpsCommand : ICommand
/// <inheritdoc />
public string Description { get; } = "Shows the current TPS.";

/// <inheritdoc/>
/// <inheritdoc cref="SanitizeResponse" />
public bool SanitizeResponse { get; } = false;

/// <inheritdoc />
Expand Down
41 changes: 0 additions & 41 deletions Exiled.Events/EventArgs/Warhead/SurfaceButtonInteractEventArgs.cs

This file was deleted.

13 changes: 1 addition & 12 deletions Exiled.Events/Handlers/Warhead.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ public class Warhead
/// </summary>
public static Event<DetonatingEventArgs> Detonating { get; set; } = new();

/// <summary>
/// Invoked before player interacting with the warhead button in surface.
/// </summary>
public static Event<SurfaceButtonInteractEventArgs> SurfaceButtonInteract { get; set; } = new();

/// <summary>
/// Called before stopping the warhead.
/// </summary>
Expand Down Expand Up @@ -75,11 +70,5 @@ public class Warhead
/// </summary>
/// <param name="ev">The <see cref="DetonatingEventArgs"/> instance.</param>
public static void OnDetonating(DetonatingEventArgs ev) => Detonating.InvokeSafely(ev);

/// <summary>
/// Called before interacting the warhead button in surface.
/// </summary>
/// <param name="ev">The <see cref="DetonatingEventArgs"/> instance.</param>
public static void OnSurfaceButtonInteract(SurfaceButtonInteractEventArgs ev) => SurfaceButtonInteract.InvokeSafely(ev);
}
}
}
Loading

0 comments on commit a07c88c

Please sign in to comment.