Decompile fn_02980 (LuaScript::Register)
Batch #2982 by youko: 0 byte-identical, 1 confirmed by peer review. - fn_02980 LuaScript::Register: logic confirmed by peer review Peer-reviewed-by: eAthena, meitogi 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
f96efc54e0
commit
518f2598f5
2 changed files with 7 additions and 0 deletions
|
|
@ -738,3 +738,9 @@ int LuaScript::TableInteger(std::string table, int keyType, std::intptr_t key) {
|
|||
|
||||
return value;
|
||||
}
|
||||
|
||||
// OFFSET: 0x0059CD60
|
||||
// FUNCTION: fn_02980
|
||||
void LuaScript::Register(std::string name, int (*function)(lua_State*)) {
|
||||
lua_register(this->m_state, name.c_str(), function);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue