-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Added SendingCommand event to Player #163
Conversation
Lol, i forgot to remove my test eventarg in first commit, thats why it was not working. |
I think event name should indicate that this is RA command |
Like, change it to SendingRACommand? |
Or SendingValidRACommand |
Idk. It's up to you but it must properly indicate when this event fires |
Oh, ok |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PRs should target dev branch, not master
i am not sure about the name |
Nope, only if command exist. |
EXILED/Exiled.Events/Patches/Events/Player/SendingValidRACommand.cs
Outdated
Show resolved
Hide resolved
Oh, my English sucks |
EXILED/Exiled.Events/Patches/Events/Player/SendingValidRACommand.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make sure everything works as expected?
Yeah, i checked this on my own. Also your upper request is a little bit incorrect, the event is invoked before command execution. |
No? Everything is fine, look at other summaries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i did tested it and work fine
a only thing could be done more now it's doing SendedValidCommand that return the response of the plugin and success or not of it
EXILED/Exiled.Events/EventArgs/Player/SendedValidCommandEventArgs.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some more spelling mistakes to fix
EXILED/Exiled.Events/Patches/Events/Player/SendingValidGameConsoleCommand.cs
Outdated
Show resolved
Hide resolved
EXILED/Exiled.Events/Patches/Events/Player/SendingValidGameConsoleCommand.cs
Outdated
Show resolved
Hide resolved
EXILED/Exiled.Events/Patches/Events/Player/SendingValidRACommand.cs
Outdated
Show resolved
Hide resolved
EXILED/Exiled.Events/Patches/Events/Player/SendingValidRACommand.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix some comments
EXILED/Exiled.Events/Patches/Events/Player/SendingValidGameConsoleCommand.cs
Outdated
Show resolved
Hide resolved
EXILED/Exiled.Events/Patches/Events/Player/SendingValidGameConsoleCommand.cs
Outdated
Show resolved
Hide resolved
EXILED/Exiled.Events/Patches/Events/Player/SendingValidRACommand.cs
Outdated
Show resolved
Hide resolved
EXILED/Exiled.Events/Patches/Events/Player/SendingValidRACommand.cs
Outdated
Show resolved
Hide resolved
Editing comment from moble phone, couse i want to sleep for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last few issues I noticed
EXILED/Exiled.Events/Patches/Events/Player/SendingValidGameConsoleCommand.cs
Outdated
Show resolved
Hide resolved
EXILED/Exiled.Events/Patches/Events/Player/SendingValidGameConsoleCommand.cs
Outdated
Show resolved
Hide resolved
EXILED/Exiled.Events/Patches/Events/Player/SendingValidRACommand.cs
Outdated
Show resolved
Hide resolved
EXILED/Exiled.Events/Patches/Events/Player/SendingValidRACommand.cs
Outdated
Show resolved
Hide resolved
I hope thats all on my English spelling |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any issues other than here now
EXILED/Exiled.Events/EventArgs/Player/SendingValidCommandEventArgs.cs
Outdated
Show resolved
Hide resolved
EXILED/Exiled.Events/Patches/Events/Player/SendingValidGameConsoleCommand.cs
Outdated
Show resolved
Hide resolved
EXILED/Exiled.Events/Patches/Events/Player/SendingValidRACommand.cs
Outdated
Show resolved
Hide resolved
I think it is finally done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only thing I can notice
EXILED/Exiled.Events/EventArgs/Player/SendingValidCommandEventArgs.cs
Outdated
Show resolved
Hide resolved
…Args.cs Thy lumi Co-authored-by: Lumi <[email protected]>
Description
Describe the changes
Added SendingCommadnEvent, that is invoked, when player sends proper command.
What is the current behavior?
Added event, so it will be easier to contrrol commands.
Types of changes
Submission checklist
Patches (if there are any changes related to Harmony patches)
Other