WhoAmICommand

public class WhoAmICommand extends AbstractPlayerCommand

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

java.lang.Object > AbstractPlayerCommand > WhoAmICommand

Field Summary

message

final Message message

Field message.

playerRef

final PlayerRef playerRef

Field playerRef.

ref

final Ref ref

Field ref.

store

final Store store

Field store.

world

final World world

Field world.

playerComponent

final Player playerComponent

Field playerComponent.

Method Detail

WhoAmICommand

public public WhoAmICommand ()

Method WhoAmICommand.

WhoAmIOtherCommand

public new WhoAmIOtherCommand ()

Method WhoAmIOtherCommand.

execute

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

Method execute.

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

sendPlayerInfo

static void sendPlayerInfo (@Nonnull final CommandContext context, @Nonnull final PlayerRef playerRef)

Method sendPlayerInfo.

Parameters:
@Nonnull final CommandContext context
@Nonnull final PlayerRef playerRef

executeSync

protected void executeSync (@Nonnull final CommandContext context)

Method executeSync.

Parameters:
@Nonnull final CommandContext context