Package noppes.npcs.api
Interface IPixelmonPlayerData
-
public interface IPixelmonPlayerDataProvides access to a player's Pixelmon data, including party and PC storage.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcountPCPixelmon()Gets the total number of Pixelmon stored in the player's PC.IPixelmongetPartySlot(int slot)Gets the Pixelmon in the specified party slot.
-
-
-
Method Detail
-
getPartySlot
IPixelmon getPartySlot(int slot)
Gets the Pixelmon in the specified party slot.- Parameters:
slot- the party slot index (0-5)- Returns:
- the Pixelmon in that slot, or null if empty
-
countPCPixelmon
int countPCPixelmon()
Gets the total number of Pixelmon stored in the player's PC.- Returns:
- the PC Pixelmon count
-
-