EmmyLua -> LuaLS
This commit is contained in:
@@ -279,7 +279,7 @@ function core.get_translator(text_domain) end
|
||||
--- not have localization enabled. However, if we have for instance a translation
|
||||
--- file named `wool.fr.tr` containing the following:
|
||||
---
|
||||
--- @1 Wool=Laine @1
|
||||
--- \@1 Wool=Laine @1
|
||||
--- Red=Rouge
|
||||
---
|
||||
--- this will be displayed as "Laine Rouge" on clients with a French locale.
|
||||
@@ -578,7 +578,7 @@ function core.register_allow_player_inventory_action(callback) end
|
||||
--- * Does not accept or handle any return value.
|
||||
---
|
||||
--- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L4732-L4735)
|
||||
--- @param callback fun(player:ObjectRef|Player, action:"move"|"put"|"take", inventory:InvRef, inventory_info:table):integer?
|
||||
--- @param callback fun(player:Player, action:"move"|"put"|"take", inventory:InvRef, inventory_info:table):integer?
|
||||
function core.register_on_player_inventory_action(callback) end
|
||||
--- * Called by `builtin` and mods when a player violates protection at a
|
||||
--- position (eg, digs a node or punches a protected entity).
|
||||
@@ -2105,7 +2105,7 @@ function core.write_json(data, styled) end
|
||||
--- * Example: `serialize({foo='bar'})`, returns `'return { ["foo"] = "bar" }'`
|
||||
---
|
||||
--- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L5686-L5689)
|
||||
--- @param table
|
||||
--- @param table table
|
||||
--- @return string
|
||||
function core.serialize(table) end
|
||||
--- Returns a table
|
||||
|
||||
Reference in New Issue
Block a user