Browse Source

Change parameter names

pull/8/head
Anton Tarasenko 2 years ago
parent
commit
5cb6904937
  1. 8
      sources/Commands/Command.uc

8
sources/Commands/Command.uc

@ -262,11 +262,11 @@ protected function BuildData(CommandDataBuilder builder){}
* Overload this method to perform required actions when * Overload this method to perform required actions when
* your command is called. * your command is called.
* *
* @param callData `struct` filled with parameters that your command * @param arguments `struct` filled with parameters that your command
* has been called with. Guaranteed to not be in error state. * has been called with. Guaranteed to not be in error state.
* @param instigator Player that instigated this execution. * @param instigator Player that instigated this execution.
*/ */
protected function Executed(CallData callData, EPlayer instigator){} protected function Executed(CallData arguments, EPlayer instigator){}
/** /**
* Overload this method to perform required actions when your command is called * Overload this method to perform required actions when your command is called
@ -276,14 +276,14 @@ protected function Executed(CallData callData, EPlayer instigator){}
* If your command does not require a target - this method will not be called. * If your command does not require a target - this method will not be called.
* *
* @param target Player that this command must perform an action on. * @param target Player that this command must perform an action on.
* @param callData `struct` filled with parameters that your command * @param arguments `struct` filled with parameters that your command
* has been called with. Guaranteed to not be in error state and contain * has been called with. Guaranteed to not be in error state and contain
* all the required data. * all the required data.
* @param instigator Player that instigated this call. * @param instigator Player that instigated this call.
*/ */
protected function ExecutedFor( protected function ExecutedFor(
EPlayer target, EPlayer target,
CallData callData, CallData arguments,
EPlayer instigator){} EPlayer instigator){}
/** /**

Loading…
Cancel
Save