SetNameRespawnPointPage

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 PlayerRef playerRef
final InteractionType interactionType
final Vector3i respawnBlockPosition
final RespawnBlock respawnBlock

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 Ref ref
@Nonnull final UICommandBuilder commandBuilder
@Nonnull final UIEventBuilder eventBuilder
@Nonnull final Store store

handleDataEvent

public void handleDataEvent (@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final RespawnPointEventData data)

Method handleDataEvent.

Parameters:
@Nonnull final Ref ref
@Nonnull final Store store
@Nonnull final RespawnPointEventData data

if

public else if ("Cancel".equals(data.getAction()

Method if.

Parameters:
"Cancel".equals(data.getAction( "Cancel".equals(data.getAction(