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 BuilderActionOpenBarterShopbuilder@Nonnull final BuilderSupportsupport
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 Refref@Nonnull final Rolerolefinal InfoProvidersensorInfofinal doubledt@Nonnull final Storestore
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 Refref@Nonnull final Rolerolefinal InfoProvidersensorInfofinal doubledt@Nonnull final Storestore
BarterPage
public
new
BarterPage
(playerRefComponent, this.shopId)
Method BarterPage.
- Parameters:
playerRefComponentplayerRefComponentthis.shopIdthis.shopId