Decompile 2 functions in Source/Contents/Skills/PlayerSkillBundle.cpp, Source/Contents/Skills/PlayerSkillBundle.h, ...
Batch #13464 by SapitoSucio: 0 byte-identical, 2 confirmed by peer review. - fn_08274 CPlayerSkillBundle::AddExtra: logic confirmed by peer review - fn_23746 CSession::UpdateSkill: logic confirmed by peer review Peer-reviewed-by: eAthena, StrawberrysherbetIX Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
c8ec5cf7aa
commit
293db20ff9
3 changed files with 4 additions and 4 deletions
|
|
@ -240,7 +240,7 @@ bool CSession::UpdateSkill(const CSkillInfo& value, unsigned char notify, unsign
|
|||
} else {
|
||||
snapshot.unknown_0024 = UINT32_MAX;
|
||||
snapshot.unknown_002C = 0;
|
||||
this->m_skillBundle.AddExtra(snapshot, g_windowMgr);
|
||||
this->m_skillBundle.AddExtra(snapshot);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -168,9 +168,9 @@ void CPlayerSkillBundle::ClearExtra() {
|
|||
|
||||
// OFFSET: 0x007713E0
|
||||
// FUNCTION: fn_08274
|
||||
void CPlayerSkillBundle::AddExtra(const CSkillInfo& value, WindowManagerWindows& windows) {
|
||||
void CPlayerSkillBundle::AddExtra(const CSkillInfo& value) {
|
||||
this->extraIds.push_back(value.id);
|
||||
if (UIWindow* window = windows.LookupWindow(37)) {
|
||||
if (UIWindow* window = g_windowMgr.LookupWindow(37)) {
|
||||
window->SendMsg(nullptr, 161, 0, 0, 0, 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ public:
|
|||
CSkillInfo* FindExtra(std::uint32_t id);
|
||||
void ClearExtra();
|
||||
bool RemoveExtra(std::uint32_t id);
|
||||
void AddExtra(const CSkillInfo& value, WindowManagerWindows& windows);
|
||||
void AddExtra(const CSkillInfo& value);
|
||||
void NumberExtra();
|
||||
void AddGrouped(int group, const CSkillInfo& value);
|
||||
void ClearGroups();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue