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 CommandContextcontext@Nonnull final Storestore@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld
sendPlayerInfo
static
void
sendPlayerInfo
(@Nonnull final CommandContext context, @Nonnull final PlayerRef playerRef)
Method sendPlayerInfo.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final PlayerRefplayerRef