public static class PokedexEvent.Pre extends PokedexEvent
PokedexEvent.Constants, PokedexEvent.Post, PokedexEvent.Pre
Constructor and Description |
---|
Pre(java.util.UUID uuid,
Pokemon pokemon,
PokedexRegistrationStatus newStatus,
java.lang.String cause) |
Modifier and Type | Method and Description |
---|---|
void |
setCause(java.lang.String cause)
Sets the cause of the event
|
void |
setNewStatus(PokedexRegistrationStatus newStatus)
Sets the new status it's transitioning to
|
void |
setPokemon(Pokemon pokemon)
Sets the pokemon the status is being changed for
|
getCause, getNewStatus, getOldStatus, getPlayer, getPlayerUUID, getPokedex, getPokemon, isBeingSeenByPokedexKey, isCausedBy, isCausedByCapture, isCausedByEggHatching, isCausedByEvolution, isCausedByNPCTrade, isCausedByPlayerTrade, isCausedBySidemod, isCausedByStorageMovement, isInternal
public Pre(java.util.UUID uuid, Pokemon pokemon, PokedexRegistrationStatus newStatus, java.lang.String cause)
public void setNewStatus(PokedexRegistrationStatus newStatus)
newStatus
- The new status being set in the Player's pokedexpublic void setPokemon(Pokemon pokemon)
pokemon
- The pokemonpublic void setCause(java.lang.String cause)
cause
- The cause