Skip to content
This repository has been archived by the owner on Jan 19, 2025. It is now read-only.

Added SendingCommand event #2793

Merged
merged 8 commits into from
Oct 28, 2024
Merged

Added SendingCommand event #2793

merged 8 commits into from
Oct 28, 2024

Conversation

angelseraphim
Copy link
Contributor

:3

@github-actions github-actions bot added regarding-events An issue or PR targeting the Exiled Events project regarding-transpiler An issue or PR that touches or is related to a patch labels Oct 28, 2024
Copy link
Member

@xNexusACS xNexusACS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets improve a little bit some of the summaries

Exiled.Events/Patches/Events/Player/SendingCommand.cs Outdated Show resolved Hide resolved
Exiled.Events/EventArgs/Player/SendingCommandEventArgs.cs Outdated Show resolved Hide resolved
Exiled.Events/EventArgs/Player/SendingCommandEventArgs.cs Outdated Show resolved Hide resolved
@xNexusACS
Copy link
Member

one question I have, does either Query or Command becomes null when the command doesn't exists?

@angelseraphim
Copy link
Contributor Author

The patch works after the command. Because of this, it cannot be null

@xNexusACS
Copy link
Member

The patch works after the command. Because of this, it cannot be null

what I mean is, if the command doesn't exist in RemoteAdmin, does the ICommand inferface becomes null?

@angelseraphim
Copy link
Contributor Author

If there is no command, the event will not be called
CommandProcessor.RemoteAdminCommandHandler.TryGetCommand

@xNexusACS
Copy link
Member

If there is no command, the event will not be called CommandProcessor.RemoteAdminCommandHandler.TryGetCommand

oh, nice

@angelseraphim
Copy link
Contributor Author

:D

@xNexusACS xNexusACS merged commit 7d99daf into Exiled-Team:master Oct 28, 2024
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
regarding-events An issue or PR targeting the Exiled Events project regarding-transpiler An issue or PR that touches or is related to a patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants