Decompile fn_23379 (CSession::HomunSkillLevel)
Batch #1465 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review. - fn_23379 CSession::HomunSkillLevel: logic confirmed by peer review Peer-reviewed-by: Yommy 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
17def7f7e4
commit
b9474e7c82
2 changed files with 16 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
#include "Client/Session.h"
|
||||
#include "Client/ClientOptions.h"
|
||||
#include "Contents/Async/AsyncWorkMgr.h"
|
||||
#include "Contents/UserData/CharacterConfigSave.h"
|
||||
|
|
@ -92,3 +93,14 @@ void CCharacterLinkedUserDataMgr::Save(CharacterConfigSave& context, const char*
|
|||
++this->m_pendingSaves;
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x00DDD0D0
|
||||
// FUNCTION: fn_23379
|
||||
int CSession::HomunSkillLevel(int skillId) const {
|
||||
const int index = skillId - 8000;
|
||||
if (index > -1) {
|
||||
return this->m_homunSkillLevels[index];
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue