Decompile 2 functions in Source/Client/SessionState.cpp, Source/Client/Session.cpp, ...
Batch #8364 by Romain: 0 byte-identical, 2 confirmed by peer review. - fn_24231 CSession::SetJob: logic confirmed by peer review - fn_23516 CSession::RefreshSkillTree: logic confirmed by peer review Peer-reviewed-by: eAthena, System4z, vinnyamancio 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
e510d9179c
commit
f77073589f
3 changed files with 39 additions and 0 deletions
|
|
@ -19,6 +19,8 @@
|
|||
#include "Network/Connection/Connection.h"
|
||||
#include "Network/Packets/PacketId.h"
|
||||
#include "Network/TextEncoding.h"
|
||||
#include "Contents/Jobs/JobInheritance.h"
|
||||
#include "UI/Window/UIBasicInfoWnd.h"
|
||||
#include "UI/Window/UIWindowMgr.h"
|
||||
#include "UI/Window/UIWindow.h"
|
||||
#include "UI/Window/WindowOrdering.h"
|
||||
|
|
@ -2023,6 +2025,21 @@ int CSession::CountItems17F0() const {
|
|||
return count;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00DF9490
|
||||
// FUNCTION: fn_23516
|
||||
void CSession::RefreshSkillTree() {
|
||||
JobInheritance inheritance{*this->m_hotkeyScript};
|
||||
inheritance.InitializeSkillTree(this->m_skillBundle, this->m_job);
|
||||
if (g_windowMgr.window_02C4) {
|
||||
g_windowMgr.window_02C4->SendMsg(nullptr, 0x3C, 0, 0, 0, 0);
|
||||
}
|
||||
|
||||
if (g_windowMgr.unknown_01DC) {
|
||||
UIBasicInfoWnd* info = reinterpret_cast<UIBasicInfoWnd*>(g_windowMgr.unknown_01DC);
|
||||
info->SetHeight(info->geometry.height);
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x00DF9500
|
||||
// FUNCTION: fn_23518
|
||||
void CSession::InvalidateWindowFrames() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue