ManaPlus
|
Functions | |
void | handleMercenaryMessage (const int cmd) |
void | processMercenaryUpdate (Net::MessageIn &msg) |
void | processMercenaryInfo (Net::MessageIn &msg) |
void | processMercenarySkills (Net::MessageIn &msg) |
void EAthena::MercenaryRecv::handleMercenaryMessage | ( | const int | cmd | ) |
Definition at line 187 of file mercenaryrecv.cpp.
References SkillDialog::hideSkills(), SkillOwner::Mercenary, NotifyTypes::MERCENARY_EXPIRED, NotifyTypes::MERCENARY_FIRED, NotifyTypes::MERCENARY_KILLED, NotifyTypes::MERCENARY_RUN, NotifyTypes::MERCENARY_UNKNOWN, NotifyManager::notify(), PlayerInfo::setMercenary(), skillDialog, and SkillDialog::updateModels().
Referenced by EAthena::ChatRecv::processFormatMessage().
void EAthena::MercenaryRecv::processMercenaryInfo | ( | Net::MessageIn & | msg | ) |
Definition at line 80 of file mercenaryrecv.cpp.
References actorManager, ActorManager::findBeing(), ActorSprite::getId(), MercenaryInfo::id, MercenaryInfo::level, localPlayer, Attributes::MERC_ATK, Attributes::MERC_ATTACK_DELAY, Attributes::MERC_ATTACK_RANGE, Attributes::MERC_CALLS, Attributes::MERC_CRIT, Attributes::MERC_DEF, Attributes::MERC_EXPIRE, Attributes::MERC_FAITH, Attributes::MERC_FLEE, Attributes::MERC_HIT, Attributes::MERC_HP, Attributes::MERC_KILLS, Attributes::MERC_LEVEL, Attributes::MERC_MATK, Attributes::MERC_MAX_HP, Attributes::MERC_MAX_MP, Attributes::MERC_MDEF, Attributes::MERC_MP, Actions::msg(), MercenaryInfo::name, Notify_true, MercenaryInfo::range, PlayerInfo::setMercenary(), PlayerInfo::setMercenaryBeing(), PlayerInfo::setStatBase(), and PlayerInfo::updateAttrs().
void EAthena::MercenaryRecv::processMercenarySkills | ( | Net::MessageIn & | msg | ) |
Definition at line 158 of file mercenaryrecv.cpp.
References SkillDialog::addSkill(), fromBool, SkillDialog::hideSkills(), SkillOwner::Mercenary, Actions::msg(), PlayerInfo::setSkillLevel(), skillDialog, SkillDialog::updateModels(), and SkillDialog::updateSkill().
void EAthena::MercenaryRecv::processMercenaryUpdate | ( | Net::MessageIn & | msg | ) |
Definition at line 53 of file mercenaryrecv.cpp.
References Sp::ASPD, Sp::ATK1, Sp::CRITICAL, Sp::DEF1, Sp::HIT, Sp::HP, Sp::MATK1, Sp::MAXHP, Sp::MAXSP, Sp::MDEF1, Attributes::MERC_ATK, Attributes::MERC_ATTACK_DELAY, Attributes::MERC_CRIT, Attributes::MERC_DEF, Attributes::MERC_FAITH, Attributes::MERC_FLEE, Attributes::MERC_HIT, Attributes::MERC_HP, Attributes::MERC_KILLS, Attributes::MERC_MATK, Attributes::MERC_MAX_HP, Attributes::MERC_MAX_MP, Attributes::MERC_MDEF, Attributes::MERC_MP, Sp::MERCFAITH, Sp::MERCFLEE, Sp::MERCKILLS, Actions::msg(), reportAlways, setMercStat, and Sp::SP.