mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add player:get_meta(), deprecate player attributes (#7202)
* Add player:get_meta(), deprecate player attributes
This commit is contained in:
parent
7e3f88f539
commit
91615f9588
22 changed files with 314 additions and 70 deletions
|
@ -35,6 +35,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include "lua_api/l_nodetimer.h"
|
||||
#include "lua_api/l_noise.h"
|
||||
#include "lua_api/l_object.h"
|
||||
#include "lua_api/l_playermeta.h"
|
||||
#include "lua_api/l_particles.h"
|
||||
#include "lua_api/l_rollback.h"
|
||||
#include "lua_api/l_server.h"
|
||||
|
@ -99,6 +100,7 @@ void ServerScripting::InitializeModApi(lua_State *L, int top)
|
|||
NodeMetaRef::Register(L);
|
||||
NodeTimerRef::Register(L);
|
||||
ObjectRef::Register(L);
|
||||
PlayerMetaRef::Register(L);
|
||||
LuaSettings::Register(L);
|
||||
StorageRef::Register(L);
|
||||
ModChannelRef::Register(L);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue