public abstract static class PokerusEvent.Spread extends PokerusEvent
Spread(PlayerPartyStorage, PixelmonWrapper, PokerusStrain)
Modifier and Type | Class and Description |
---|---|
static class |
PokerusEvent.Spread.Post
Fires on the server after the Pokérus has spread from an opponent or from a party member.
|
static class |
PokerusEvent.Spread.Pre
Fires on the server before the Pokérus spreads from an opponent or from a party member.
|
PokerusEvent.Cured, PokerusEvent.Spread
Modifier and Type | Field and Description |
---|---|
PokerusStrain |
donorType |
PlayerPartyStorage |
party |
PixelmonWrapper |
wrapper |
Constructor and Description |
---|
Spread(PlayerPartyStorage party,
PixelmonWrapper wrapper,
PokerusStrain donorType) |
public final PlayerPartyStorage party
public final PixelmonWrapper wrapper
public final PokerusStrain donorType
public Spread(PlayerPartyStorage party, PixelmonWrapper wrapper, PokerusStrain donorType)
party
- The owner's storage.wrapper
- The wrapper of the Pokémon.donorType
- The Pokérus type of the donor, which is being reflected into the new Pokémon.