Batch #1582 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_23486 CSession::GetRobeAlpha: logic confirmed by peer review - fn_24176 CSession::IsTopLayerRobe: logic confirmed by peer review Reviewed-by: ragnarok-clanker Adds to the build: Source/Contents/RobeOpacity.cpp, Source/Contents/RobeTopLayer.cpp
14 lines
319 B
C++
14 lines
319 B
C++
#include "Client/Session.h"
|
|
#include "Script/LuaScript.h"
|
|
|
|
// OFFSET: 0x00E31D30
|
|
// FUNCTION: fn_24176
|
|
bool CSession::IsTopLayerRobe(int robe) {
|
|
if (robe == -1) {
|
|
robe = this->m_robe;
|
|
}
|
|
|
|
bool isTopLayer = false;
|
|
g_session.m_hotkeyScript->Call("IsTopLayer", "d>b", robe, &isTopLayer);
|
|
return isTopLayer;
|
|
}
|