public abstract static class PokerusEvent.Spread extends PokerusEvent
Spread(PlayerPartyStorage, PixelmonWrapper, EnumPokerusType)
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 |
---|---|
EnumPokerusType |
donorType |
PlayerPartyStorage |
party |
PixelmonWrapper |
wrapper |
Constructor and Description |
---|
Spread(PlayerPartyStorage party,
PixelmonWrapper wrapper,
EnumPokerusType donorType) |
public final PlayerPartyStorage party
public final PixelmonWrapper wrapper
public final EnumPokerusType donorType
public Spread(PlayerPartyStorage party, PixelmonWrapper wrapper, EnumPokerusType 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.