ReputationAddCommand

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 CommandContext context
@Nullable final Ref sourceRef
@Nonnull final Ref ref
@Nonnull final PlayerRef playerRef
@Nonnull final World world
@Nonnull final Store store

AssetArgumentType

public new AssetArgumentType ("server.commands.parsing.argtype.asset.reputationgroup.name", (Class)

Method AssetArgumentType.

Parameters:
"server.commands.parsing.argtype.asset.reputationgroup.name" "server.commands.parsing.argtype.asset.reputationgroup.name"
(Class (Class