public class SetNameRespawnPointPage extends RespawnPointPage
Class SetNameRespawnPointPage. Provides setnamerespawnpointpage functionality for the Hytale server.
java.lang.Object > RespawnPointPage > SetNameRespawnPointPage
Field Summary
playerComponent
final
Player
playerComponent
Field playerComponent.
playerRefComponent
final
PlayerRef
playerRefComponent
Field playerRefComponent.
world
final
World
world
Field world.
respawnPoints
final
PlayerRespawnPointData[]
respawnPoints
Field respawnPoints.
respawnPointName
final
String
respawnPointName
Field respawnPointName.
Method Detail
SetNameRespawnPointPage
public
public
SetNameRespawnPointPage
(@Nonnull final PlayerRef playerRef, final InteractionType interactionType, final Vector3i respawnBlockPosition, final RespawnBlock respawnBlock)
Method SetNameRespawnPointPage.
- Parameters:
@Nonnull final PlayerRefplayerReffinal InteractionTypeinteractionTypefinal Vector3irespawnBlockPositionfinal RespawnBlockrespawnBlock
build
public
void
build
(@Nonnull final Ref ref, @Nonnull final UICommandBuilder commandBuilder, @Nonnull final UIEventBuilder eventBuilder, @Nonnull final Store store)
Method build.
- Parameters:
@Nonnull final Refref@Nonnull final UICommandBuildercommandBuilder@Nonnull final UIEventBuildereventBuilder@Nonnull final Storestore
handleDataEvent
public
void
handleDataEvent
(@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final RespawnPointEventData data)
Method handleDataEvent.
- Parameters:
@Nonnull final Refref@Nonnull final Storestore@Nonnull final RespawnPointEventDatadata
if
public
else
if
("Cancel".equals(data.getAction()
Method if.
- Parameters:
"Cancel".equals(data.getAction("Cancel".equals(data.getAction(