Decompile 2 functions in Source/UI/Shortcuts/ShortcutCooldowns.cpp, Source/Client/Session.h
Batch #1653 by ragnarok-clanker: 0 byte-identical, 2 confirmed by peer review. - fn_23876 CSession::IsSkillIdInRange6018: logic confirmed by peer review - fn_23877 CSession::IsSkillIdInRange6001: logic confirmed by peer review Peer-reviewed-by: eAthena Reviewed-by: ragnarok-clanker
This commit is contained in:
parent
5f28f8b81c
commit
c934fe7820
2 changed files with 15 additions and 0 deletions
|
|
@ -212,6 +212,8 @@ public:
|
|||
void CollectCardItems();
|
||||
int GetRobeAlpha(int robeId);
|
||||
bool IsTopLayerRobe(int robe);
|
||||
int IsSkillIdInRange6018(unsigned id) const;
|
||||
int IsSkillIdInRange6001(unsigned id) const;
|
||||
};
|
||||
|
||||
extern CSession g_session;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#include "Client/Session.h"
|
||||
#include "UI/Shortcuts/ShortcutCooldowns.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
|
@ -19,6 +20,18 @@ namespace {
|
|||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x00E1DCE0
|
||||
// FUNCTION: fn_23876
|
||||
int CSession::IsSkillIdInRange6018(unsigned id) const {
|
||||
return id - 6018u <= 34;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00E1DD00
|
||||
// FUNCTION: fn_23877
|
||||
int CSession::IsSkillIdInRange6001(unsigned id) const {
|
||||
return id - 6001u <= 51;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00D42070
|
||||
// FUNCTION: fn_21827
|
||||
void ShortcutCooldowns::LoadSnapshot(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue