rodecomp/Source/Script/NLuaState.h
ragnarok-clanker 9562207a4d Decompile 2 functions in Source/Script/NLuaState.cpp, Source/Script/NLuaState.h
Batch #3188 by eAthena: 0 byte-identical, 2 confirmed by peer review.

- fn_20941 NLuaState::NLuaState: logic confirmed by peer review
- fn_20944 NLuaThread::`scalar deleting destructor': logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/Script/NLuaState.cpp
2026-10-29 21:50:08 +00:00

35 lines
592 B
C++

#ifndef RAGNAROK_SOURCE_SCRIPT_NLUASTATE_H
#define RAGNAROK_SOURCE_SCRIPT_NLUASTATE_H
struct lua_State;
// VTABLE: vt_01824
class NLuaState {
public:
NLuaState();
virtual ~NLuaState();
// INLINED
lua_State* GetState() const {
return this->m_state;
}
// INLINED
bool IsValid() const {
return this->m_isValid;
}
/* 0004 */ lua_State* m_state;
/* 0008 */ bool m_isValid;
};
// VTABLE: vt_01825
class NLuaThread {
public:
explicit NLuaThread(NLuaState& parent);
virtual ~NLuaThread();
/* 0004 */ lua_State* m_state;
/* 0008 */ bool m_isValid;
};
#endif