mirror of
https://github.com/brues-code/nampower.git
synced 2026-10-05 13:10:01 +00:00
- Block mounting when buff capped (can disable with NP_PreventMountingWhenBuffCapped) - add some additional information to GetTrinkets
19 lines
422 B
C++
19 lines
422 B
C++
//
|
|
// Created for Lua table reference management
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
namespace Nampower {
|
|
// Register a table ref to be cleaned up on shutdown
|
|
void RegisterTableRef(int* tableRefPtr);
|
|
|
|
// Get or create a table reference (renamed from EnsureValidTableRef)
|
|
void GetTableRef(uintptr_t* luaState, int& tableRef);
|
|
|
|
// Cleanup all registered table refs
|
|
void CleanupAllLuaTableRefs();
|
|
}
|