public class ReputationSetCommand extends AbstractTargetPlayerCommand
Command for reputationse operations. Registered with the command system and callable by players.
java.lang.Object > AbstractTargetPlayerCommand > ReputationSetCommand
Field Summary
reputationGroup
final
ReputationGroup
reputationGroup
Field reputationGroup.
value
final
int
value
Field value.
player
final
Player
player
Field player.
currentValue
final
int
currentValue
Field currentValue.
newReputationAmount
final
int
newReputationAmount
Field newReputationAmount.
Method Detail
ReputationSetCommand
public
public
ReputationSetCommand
()
Method ReputationSetCommand.
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