Peoplemon  0.1.0
Peoplemon 3 game source documentation
Classes | Enumerations | Functions
core::pplmn Namespace Reference

Collection of classes and enums pertaining to Peoplemon themselves. More...

Classes

class  BattlePeoplemon
 Represents a Peoplemon in battle. Stores some extra state that only exists in battle. Wraps an underlying OwnedPeoplemon. More...
 
struct  BattleStats
 Stores stats that only exist during battle. More...
 
class  Move
 Encapsulates the move datastore. More...
 
struct  OwnedMove
 Represents a move owned by a peoplemon. More...
 
class  OwnedPeoplemon
 Represents an instance of a peoplemon. Can be a wild peoplemon, trainer, or player peoplemon. Only contains persistent data specific to the individual peoplemon. More...
 
class  Peoplemon
 Serves as the primary store of all Peoplemon information. More...
 
struct  Stats
 Stats for Peoplemon. This struct is used for base stats, EVs, IVs, battle increases/decreases, and base stats. More...
 
struct  StoredPeoplemon
 Represents a Peoplemon in storage. More...
 
struct  TypeUtil
 Contains a collection of helper methods for types. More...
 
struct  WildPeoplemon
 Template struct to generate OwnedPeoplemon for random encounters. More...
 

Enumerations

enum class  Ailment : std::uint8_t {
  None = 0 , Annoyed = 2 , Frustrated = 3 , Sticky = 5 ,
  Sleep = 6 , Frozen = 7
}
 Represents an ailment that a Peoplemon can have. More...
 
enum class  Id : std::uint8_t {
  Unknown = 0 , VinceA , VinceB , VinceC ,
  JoeA , JoeB , JoeC , NickA ,
  NickB , NickC , DominicA , DominicB ,
  DominicC , BryanA , BryanB , BryanC ,
  KrullA , KrullB , KrullC , MsMerrilA ,
  MsMerrilB , MsMerrilC , JamesPabloA , JamesPabloB ,
  JustinLA , JustinLB , BelleA , BelleB ,
  BelleC , BelleD , AnnaA , AnnaB ,
  AnnaC , AnnaD , AnnaE , AnnaF ,
  AnnaG , AnnaH , MsNeutakiA , MsNuetakiB ,
  Mike1A , Mike1B , Mike1C , JohnA ,
  JohnB , JohnC , JohnD , ChrisA ,
  ChrisB , ChrisC , MsMezzarosA , MsMezzarosB ,
  MrMontanteC , MrMontante , MrSweigerlingA , MrSweigerlingB ,
  JakeA , JakeB , QuinnA , QuinnB ,
  QuinnC , BrandonA , BrandonB , BrandonC ,
  LexiA , LexiB , LexiC , MsMeisnerA ,
  MsMeisnerB , Justin , AbirajA , AbirajB ,
  KylerMaleA , KylerMaleB , KylerMaleC , KylerFemaleA ,
  KylerFemaleB , KylerFemaleC , MattA , MattB ,
  MattC , BryanWagnerA , BryanWagnerB , BryanWagnerC ,
  EmanualA , EmanualB , EmanualC , MaxBurgioA ,
  MaxBurgioB , MaxBurgioC , Mike2A , Mike2B ,
  Mike2C , StephaniePA , StephaniePB , StephaniePC ,
  PiperA , PiperB , ColinA , ColinB ,
  ColinC , JakeDA , JakeDB , SarahA ,
  SarahB , SarahC , SarahD , JackiA ,
  JackiB , LukeA , LukeB , LukeC ,
  StephanieA , StephanieB , StephanieC , PonceA ,
  PonceB , PamA , PamB , PamC ,
  Kristina , Julie , Maggi , BenToo ,
  Ben , RockManiac , JudasA , JudasB
}
 The id of a peoplemon. More...
 
enum class  MoveEffect : std::uint8_t {
  None = 0 , Heal = 1 , Poison = 2 , Burn = 3 ,
  Paralyze = 4 , Freeze = 5 , Confuse = 6 , LeechSeed = 7 ,
  Flinch = 8 , Trap = 9 , Sleep = 10 , Protection = 11 ,
  Safegaurd = 12 , Substitute = 13 , HealBell = 14 , CritUp = 15 ,
  AtkUp = 16 , DefUp = 17 , AccUp = 18 , EvdUp = 19 ,
  SpdUp = 20 , SpAtkUp = 21 , SpDefUp = 22 , CritDown = 23 ,
  AtkDown = 24 , DefDown = 25 , AccDown = 26 , EvdDown = 27 ,
  SpdDown = 28 , SpAtkDown = 29 , SpDefDown = 30 , Recoil = 31 ,
  Charge = 32 , Suicide = 33 , Counter = 34 , MirrorCoat = 35 ,
  OnlySleeping = 36 , Peanut = 37 , SetBall = 38 , WakeBoth = 39 ,
  Absorb = 40 , Encore = 41 , RandomMove = 42 , BatonPass = 43 ,
  DieIn3Turns = 44 , CritEvdUp = 45 , BumpBall = 46 , SpikeBall = 47 ,
  DeathSwap = 48 , Gamble = 49 , StayAlive = 50 , MaxAtkMinAcc = 51 ,
  FrustConfuse = 52 , Spikes = 53 , DoubleFamily = 54 , EnemyPPDown = 55 ,
  HealNext = 56 , Roar = 57 , FailOnMove64 = 58 , SleepHeal = 59 ,
  SpdAtkUp = 60 , StealStats = 61 , BlockBall = 62 , SwipeBall = 63 ,
  DamageThenSwitch = 64 , RoarCancelBallSpikes = 65
}
 Represents an effect that a move can have. Copied verbatim from Peoplemon 2, may refactor later when implementing battles. More...
 
enum class  MoveId : std::uint8_t {
  Unknown = 0 , _INVALID_1 = 1 , Absent = 2 , LateArrival ,
  EarlyDismissal , RedHairGlare , LateHW , Frost ,
  MakeDue , Optimism , Sarcasm , Distract ,
  OffTopic , Awkwardness , Teach , MegaTeach ,
  SuperTeach , ExtremeTeach , Frustration , Negation ,
  Inquisitive , Logic , YellAtChris , SodaBomb ,
  ParabolaAttack , BadJoke , I4Got , SkimpOut ,
  LocusStrike , SidesOfACircle , Insanitize , FloatingSymbols ,
  FalseName , Confuse , _INVALID_2 = 34 , MathGuitar = 35 ,
  EssayStrike , DivideBy0 , Athleticism , WorkOut ,
  Quadratic , CoreDump , SuckyMove , Learn ,
  GUIStrike , Harden , Nudge , TrustFall ,
  SuperTrustFall , HealBelle , Retire , Demotivate ,
  WetWilly , BackSass , TheChest , Dominize ,
  Rave , Hope , BagSwipe , Concentrate ,
  _INVALID_3 = 60 , Pray = 61 , LongStory , TrackFu ,
  Kick , Oblivious , Carpool , BlackSass ,
  SassySass , Borrow , Chill , Nap ,
  Excuse , ThrowRock , Ambiguous , Persistent ,
  Replace , Lastattempt , Patience , Jog ,
  MovetoNC , Camp , MakeBank , Set ,
  Spike , Bump , LockIn , RollD20 ,
  SilentCoolness , ChannelNinja , Serenade , GuiltTrip ,
  DrunkFireworksDisplay , HumbleBrag , Peanut , SkypeGames ,
  Mooch , GMPCannon , BoardGameBarrage , ChannelRedneck ,
  SuperFan , CipherStrike , Bromance , MedicalAttention ,
  Bark , Hospitality , HappyGoLucky , Encourage ,
  EnergyBlast , ShoulderShrug , Cabinets , PinsAndNeedles ,
  Block , Tool , Reliable , SubtleJoke ,
  _NUM_MOVES
}
 The id of a move. More...
 
enum class  PassiveAilment : std::uint8_t {
  None = 0 , Confused = 0x1 << 0 , Stolen = 0x1 << 1 , Trapped = 0x1 << 2 ,
  Distracted = 0x1 << 3
}
 Represents a passive ailment a Peoplemon can have. More...
 
enum class  SpecialAbility : std::uint8_t {
  None = 0 , BoardGameMaster = 1 , Chillaxed = 2 , Classy = 3 ,
  Goon = 4 , QuickDraw = 5 , AlwaysFriendly = 6 , Sassy = 7 ,
  ImpulseBuy = 8 , RunAway = 9 , MrExtra = 10 , BeefedUp = 11 ,
  Reserved = 12 , DukeOfJokes = 13 , Engaging = 14 , SnackShare = 15 ,
  DerpDerp = 16 , Klutz = 17 , GenderBend = 18 , Garbage = 19 ,
  BikeMechanic = 20 , SidetrackTeach = 21 , NoJokeTeach = 22 , FieryTeach = 23 ,
  ExperiencedTeach = 24 , NewTeach = 25 , DozeOff = 26 , DouseFlames = 27 ,
  Flirty = 28 , UndyingFaith = 29 , TooCool = 30 , FakeStudy = 31 ,
  Alcoholic = 32 , TotalBro = 33 , TotalMom = 34 , CantSwim = 35 ,
  AllNighter = 36 , AilmentSaturated = 37 , Adament = 38 , AbsolutePitch = 39 ,
  GamemakerVirus = 40 , Snapshot = 41 , GetBaked = 42
}
 Represents a special ability that a Peoplemon may have. More...
 
enum class  Stat : std::uint8_t {
  HP = 0 , Attack = 1 , Defense = 2 , SpecialAttack = 3 ,
  SpecialDefense = 4 , Speed = 5 , Evasion , Accuracy ,
  Critical
}
 Represents a single stat. Used as an offset to access Stats as an array. More...
 
enum class  Type : std::uint8_t {
  None = 0 , Normal = 0x1 << 0 , Intelligent = 0x1 << 1 , Funny = 0x1 << 2 ,
  Athletic = 0x1 << 3 , Quiet = 0x1 << 4 , Awkward = 0x1 << 5 , PartyAnimal = 0x1 << 6
}
 Represents a type that a move or Peoplemon can be. Types may be combined. More...
 

Functions

Type operator& (Type l, Type r)
 Binary AND for Type values. More...
 
Type operator| (Type l, Type r)
 Binary OR for Type values. More...
 

Detailed Description

Collection of classes and enums pertaining to Peoplemon themselves.

Function Documentation

◆ operator&()

Type core::pplmn::operator& ( Type  l,
Type  r 
)
inline

Binary AND for Type values.

Parameters
lLeft type
rRight type
Returns
Type Combined type

Definition at line 36 of file Type.hpp.

◆ operator|()

Type core::pplmn::operator| ( Type  l,
Type  r 
)
inline

Binary OR for Type values.

Parameters
lLeft type
rRight type
Returns
Type Combined type

Definition at line 47 of file Type.hpp.