ActionOpenBarterShop

public class ActionOpenBarterShop extends ActionBase

Class ActionOpenBarterShop. Provides actionopenbartershop functionality for the Hytale server.

java.lang.Object > ActionBase > ActionOpenBarterShop

Field Summary

playerReference

final Ref playerReference

Field playerReference.

playerRefComponent

final PlayerRef playerRefComponent

Field playerRefComponent.

playerComponent

final Player playerComponent

Field playerComponent.

Method Detail

ActionOpenBarterShop

public public ActionOpenBarterShop (@Nonnull final BuilderActionOpenBarterShop builder, @Nonnull final BuilderSupport support)

Method ActionOpenBarterShop.

Parameters:
@Nonnull final BuilderActionOpenBarterShop builder
@Nonnull final BuilderSupport support

canExecute

public boolean canExecute (@Nonnull final Ref ref, @Nonnull final Role role, final InfoProvider sensorInfo, final double dt, @Nonnull final Store store)

Method canExecute.

Parameters:
@Nonnull final Ref ref
@Nonnull final Role role
final InfoProvider sensorInfo
final double dt
@Nonnull final Store store

execute

public boolean execute (@Nonnull final Ref ref, @Nonnull final Role role, final InfoProvider sensorInfo, final double dt, @Nonnull final Store store)

Method execute.

Parameters:
@Nonnull final Ref ref
@Nonnull final Role role
final InfoProvider sensorInfo
final double dt
@Nonnull final Store store

BarterPage

public new BarterPage (playerRefComponent, this.shopId)

Method BarterPage.

Parameters:
playerRefComponent playerRefComponent
this.shopId this.shopId