PrefabEditExitCommand

public class PrefabEditExitCommand extends AbstractAsyncPlayerCommand

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

java.lang.Object > AbstractAsyncPlayerCommand > PrefabEditExitCommand

Field Summary

playerComponent

final Player playerComponent

Field playerComponent.

prefabEditSessionManager

final PrefabEditSessionManager prefabEditSessionManager

Field prefabEditSessionManager.

prefabEditSession

final PrefabEditSession prefabEditSession

Field prefabEditSession.

dirtyPrefabs

final List dirtyPrefabs

Field dirtyPrefabs.

result

final CompletableFuture result

Field result.

Method Detail

PrefabEditExitCommand

public public PrefabEditExitCommand ()

Method PrefabEditExitCommand.

executeAsync

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

Method executeAsync.

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

PrefabEditorExitConfirmPage

public new PrefabEditorExitConfirmPage (playerRef, prefabEditSession, world, dirtyPrefabs)

Method PrefabEditorExitConfirmPage.

Parameters:
playerRef playerRef
prefabEditSession prefabEditSession
world world
dirtyPrefabs dirtyPrefabs