Batch #10269 by ragnarok-clanker: forced by an admin (2 lower score(s), 6 changed function(s)); checked with 102 compiled unit(s), including every includer of Source/Script/LuaScript.h.
28 lines
951 B
C++
28 lines
951 B
C++
#include "Client/Session.h"
|
|
#include "Contents/Actors/CharacterRender.h"
|
|
#include "Script/LuaScript.h"
|
|
|
|
// OFFSET: 0x0080E3A0
|
|
// FUNCTION: fn_10106
|
|
bool CCharacterRender::DrawOnTop() const {
|
|
bool drawOnTop = true;
|
|
|
|
if (g_session.m_newRobeDrawOnTop == 1) {
|
|
int unusedPriority = 1;
|
|
g_session.m_hotkeyScript->Call(
|
|
"_New_DrawOnTop", "ddddd>bd", this->unknown_00BC, this->unknown_0018[0], this->unknown_0010, this->unknown_0040, this->unknown_0044, &drawOnTop,
|
|
&unusedPriority
|
|
);
|
|
} else {
|
|
g_session.m_hotkeyScript->Call("DrawOnTop", "ddddd>b", this->unknown_00BC, this->unknown_0018[0], this->unknown_0010, this->unknown_0040, this->unknown_0044, &drawOnTop);
|
|
}
|
|
|
|
return drawOnTop;
|
|
}
|
|
|
|
// OFFSET: 0x008124B0
|
|
// FUNCTION: fn_10111
|
|
bool CCharacterRender::SetRobe(int robe) {
|
|
this->unknown_00BC = robe;
|
|
return g_session.m_hotkeyScript->CallTable("TB_Layer_Priority", "IsHelmRobe", "d>b", robe, &this->unknown_00C0);
|
|
}
|