public class ReputationAddCommand extends AbstractTargetPlayerCommand
Command for reputationad operations. Registered with the command system and callable by players.
java.lang.Object > AbstractTargetPlayerCommand > ReputationAddCommand
Field Summary
reputationGroup
final
ReputationGroup
reputationGroup
Field reputationGroup.
value
final
int
value
Field value.
playerComponent
final
Player
playerComponent
Field playerComponent.
newReputationAmount
final
int
newReputationAmount
Field newReputationAmount.
Method Detail
ReputationAddCommand
public
public
ReputationAddCommand
()
Method ReputationAddCommand.
execute
protected
void
execute
(@Nonnull final CommandContext context, @Nullable final Ref sourceRef, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final World world, @Nonnull final Store store)
Method execute.
- Parameters:
@Nonnull final CommandContextcontext@Nullable final RefsourceRef@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld@Nonnull final Storestore
AssetArgumentType
public
)
new
AssetArgumentType
("server.commands.parsing.argtype.asset.reputationgroup.name", (ClassMethod AssetArgumentType.
- Parameters:
"server.commands.parsing.argtype.asset.reputationgroup.name""server.commands.parsing.argtype.asset.reputationgroup.name"(Class(Class