Class | Description |
---|---|
NPCEvent |
Collection of events fired relating to interactions with Pixelmon NPCs.
|
NPCEvent.EndBattle |
Event fired when a player versus NPC battle ends.
|
NPCEvent.Interact |
Event fired when an NPC is interacted with, before any logic is executed.
|
NPCEvent.StartBattle |
Event fired when a player attempts to start a battle versus an NPC.
|
NPCTraderEvent |
All events relating to the npc trader
|
NPCTraderEvent.AcceptTrade |
Event fired when a player is accepting a trade from the NPC Trader
|
NPCTraderEvent.AcceptTrade.Post |
Fired after the trade took place
|
NPCTraderEvent.AcceptTrade.Pre |
Fired before the trade takes place
Cancelling will stop the trade for this Pokemon from the player's party
|
NPCTraderEvent.ShowTrade |
Events fired surrounding the player opening the trade screen
|
NPCTraderEvent.ShowTrade.Post |
Fired just after they open the screen
|
NPCTraderEvent.ShowTrade.Pre |
Fired just before they open the screen
Cancelling this will prevent them from opening the screen
|
NPCTutorEvent | |
NPCTutorEvent.CollectLearnableMoves |
Events fired surrounding the client being sent what moves a tutor can teach
|
NPCTutorEvent.CollectLearnableMoves.Post |
Fired after the screen is opened and packet is sent
|
NPCTutorEvent.CollectLearnableMoves.Pre |
Fired just before the packet is sent
Cancelling this may cause some buggy behaviour
Use this event for modifying the list of learnable moves that a Pokemon can learn
|
TeachMoveEvent |
All events relating to the npc tutor and relearner teaching a move
|
TeachMoveEvent.CanLearnMove |
Called when the
LearnMoveController.LearnMove is checking if a Pokemon
can learn the move presented |
TeachMoveEvent.MoveLearnt |
Events relating to when a player's pokemon learns a move from the move tutor or move relearner
|
TeachMoveEvent.MoveLearnt.Post |
After all costs are taken and move it taught
|
TeachMoveEvent.MoveLearnt.Pre |
Before any costs are taken or moves are taught
Cancelling this will cancel the move being learnt
|