PlayerEffectApplyCommand

public class PlayerEffectApplyCommand extends AbstractPlayerCommand

Command for playereffectappl operations. Registered with the command system and callable by players.

java.lang.Object > AbstractPlayerCommand > PlayerEffectApplyCommand

Field Summary

effectControllerComponent

final EffectControllerComponent effectControllerComponent

Field effectControllerComponent.

effect

final EntityEffect effect

Field effect.

duration

final Float duration

Field duration.

targetPlayerRef

final PlayerRef targetPlayerRef

Field targetPlayerRef.

ref

final Ref ref

Field ref.

store

final Store store

Field store.

world

final World world

Field world.

playerComponent

final Player playerComponent

Field playerComponent.

playerRefComponent

final PlayerRef playerRefComponent

Field playerRefComponent.

Method Detail

PlayerEffectApplyCommand

public public PlayerEffectApplyCommand ()

Method PlayerEffectApplyCommand.

PlayerEffectApplyOtherCommand

public new PlayerEffectApplyOtherCommand ()

Method PlayerEffectApplyOtherCommand.

execute

protected void execute (@Nonnull final CommandContext context, @Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final World world)

Method execute.

Parameters:
@Nonnull final CommandContext context
@Nonnull final Store store
@Nonnull final Ref ref
@Nonnull final PlayerRef playerRef
@Nonnull final World world

executeSync

protected void executeSync (@Nonnull final CommandContext context)

Method executeSync.

Parameters:
@Nonnull final CommandContext context