#include "irrlichttypes_extrabloated.h"
#include "lua_api/l_util.h"
#include "lua_api/l_internal.h"
#include "lua_api/l_settings.h"
#include "common/c_converter.h"
#include "common/c_content.h"
#include "cpp_api/s_async.h"
#include "network/networkprotocol.h"
#include "serialization.h"
#include <json/json.h>
#include <zstd.h>
#include "cpp_api/s_security.h"
#include "porting.h"
#include "convert_json.h"
#include "debug.h"
#include "log.h"
#include "log_internal.h"
#include "tool.h"
#include "filesys.h"
#include "settings.h"
#include "util/auth.h"
#include "util/base64.h"
#include "config.h"
#include "version.h"
#include "util/hex.h"
#include "util/sha1.h"
#include "my_sha256.h"
#include "util/png.h"
#include "player.h"
#include "daynightratio.h"
#include <cstdio>
Macros | |
#define | ZSTD_CLEVEL_DEFAULT 3 |
Enumerations | |
enum | LuaCompressMethod { LUA_COMPRESS_METHOD_DEFLATE , LUA_COMPRESS_METHOD_ZSTD } |
Functions | |
static LuaCompressMethod | get_compress_method (lua_State *L, int index) |
Variables | |
static constexpr u16 | MAX_JSON_DEPTH = 1024 |
static const struct EnumString | es_LuaCompressMethod [] |
#define ZSTD_CLEVEL_DEFAULT 3 |
Referenced by ModApiUtil::l_compress().
enum LuaCompressMethod |
|
static |
References es_LuaCompressMethod, log_deprecated(), LUA_COMPRESS_METHOD_DEFLATE, and string_to_enum().
Referenced by ModApiUtil::l_compress(), and ModApiUtil::l_decompress().
|
static |
Referenced by get_compress_method().
|
staticconstexpr |
Referenced by ModApiUtil::l_parse_json(), and ModApiUtil::l_write_json().