persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
PartyMember Struct Reference

#include <PartyMember.hpp>

Inheritance diagram for PartyMember:
Collaboration diagram for PartyMember:

Public Member Functions

 PartyMember (const CharacterProfile &iCharacterProfile)
BattleStats * getBattleStats () override
ae::q20_12_t calculateBaseDamage (BattleParticipant &defender, Skill &skill) override
ae::q20_12_t getTeamMultiplier () override
void setCurrentTurnOrderAgility (ae::q20_12_t boost) override
BattlePhase getInitalTurnPhase () override
void onDead (Event::BattleResult &battleResult) override
bool canParticipateInAllOutAttack ()
virtual bool actorCanUse (ActionBase *action)
 ~PartyMember ()
Public Member Functions inherited from BattleParticipant
virtual ~BattleParticipant ()=default

Public Attributes

ArmourType armourType
etl::vector< PersonaBase *, 13 > personas
PersonaBase * curPersona
WeaponType weaponType
Weapon weapon
bool guarding = false
CharacterProfile characterProfile
Public Attributes inherited from BattleParticipant
std::string name
s32 maxHp
s32 hp
s32 maxSp
s32 sp
u32 lv
Skill * baseAttackAction
ParticipantType participantType
Armour armour
Shoe shoe
ae::q20_12_t currentTurnOrderAgility
bool oneMore = false
bool knockedDown = false

Private Attributes

MathManager & math = MathManager::getInstance()

Detailed Description

Definition at line 13 of file PartyMember.hpp.

Constructor & Destructor Documentation

◆ PartyMember()

PartyMember::PartyMember ( const CharacterProfile & iCharacterProfile)

Definition at line 6 of file PartyMember.cpp.

◆ ~PartyMember()

PartyMember::~PartyMember ( )
inline

Definition at line 40 of file PartyMember.hpp.

Member Function Documentation

◆ actorCanUse()

bool PartyMember::actorCanUse ( ActionBase * action)
virtual

Reimplemented in Player.

Definition at line 87 of file PartyMember.cpp.

Here is the caller graph for this function:

◆ calculateBaseDamage()

ae::q20_12_t PartyMember::calculateBaseDamage ( BattleParticipant & defender,
Skill & skill )
overridevirtual

Implements BattleParticipant.

Definition at line 28 of file PartyMember.cpp.

Here is the call graph for this function:

◆ canParticipateInAllOutAttack()

bool PartyMember::canParticipateInAllOutAttack ( )

Definition at line 77 of file PartyMember.cpp.

◆ getBattleStats()

BattleStats * PartyMember::getBattleStats ( )
inlineoverridevirtual

Implements BattleParticipant.

Definition at line 27 of file PartyMember.hpp.

Here is the caller graph for this function:

◆ getInitalTurnPhase()

BattlePhase PartyMember::getInitalTurnPhase ( )
overridevirtual

Implements BattleParticipant.

Definition at line 67 of file PartyMember.cpp.

◆ getTeamMultiplier()

ae::q20_12_t PartyMember::getTeamMultiplier ( )
overridevirtual

Implements BattleParticipant.

Definition at line 52 of file PartyMember.cpp.

◆ onDead()

void PartyMember::onDead ( Event::BattleResult & battleResult)
overridevirtual

Implements BattleParticipant.

Reimplemented in Player.

Definition at line 72 of file PartyMember.cpp.

◆ setCurrentTurnOrderAgility()

void PartyMember::setCurrentTurnOrderAgility ( ae::q20_12_t boost)
overridevirtual

Implements BattleParticipant.

Definition at line 57 of file PartyMember.cpp.

Member Data Documentation

◆ armourType

ArmourType PartyMember::armourType

Definition at line 15 of file PartyMember.hpp.

◆ characterProfile

CharacterProfile PartyMember::characterProfile

Definition at line 23 of file PartyMember.hpp.

◆ curPersona

PersonaBase* PartyMember::curPersona

Definition at line 17 of file PartyMember.hpp.

◆ guarding

bool PartyMember::guarding = false

Definition at line 21 of file PartyMember.hpp.

◆ math

MathManager& PartyMember::math = MathManager::getInstance()
private

Definition at line 45 of file PartyMember.hpp.

◆ personas

etl::vector<PersonaBase*, 13> PartyMember::personas

Definition at line 16 of file PartyMember.hpp.

◆ weapon

Weapon PartyMember::weapon

Definition at line 19 of file PartyMember.hpp.

◆ weaponType

WeaponType PartyMember::weaponType

Definition at line 18 of file PartyMember.hpp.


The documentation for this struct was generated from the following files: