mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-02-16 02:30:54 +00:00
rename JsonSerialize to JsonEncode, JsonDeserialize to JsonDecode
This commit is contained in:
@@ -22,7 +22,7 @@ namespace MP {
|
||||
bool IsPlayerConnected(int ID);
|
||||
void Sleep(size_t Ms);
|
||||
void PrintRaw(sol::variadic_args);
|
||||
std::string JsonSerialize(const sol::table& object);
|
||||
std::string JsonEncode(const sol::table& object);
|
||||
}
|
||||
namespace FS {
|
||||
std::pair<bool, std::string> CreateDirectory(const std::string& Path);
|
||||
|
||||
@@ -190,7 +190,7 @@ private:
|
||||
std::string Lua_GetPlayerName(int ID);
|
||||
sol::table Lua_GetPlayerVehicles(int ID);
|
||||
sol::table Lua_HttpCreateConnection(const std::string& host, uint16_t port);
|
||||
sol::table Lua_JsonDeserialize(const std::string& str);
|
||||
sol::table Lua_JsonDecode(const std::string& str);
|
||||
int Lua_GetPlayerIDByName(const std::string& Name);
|
||||
|
||||
std::string mName;
|
||||
|
||||
Reference in New Issue
Block a user