16 bool on_chat_message(
const std::string &name,
const std::string &message);
26 const std::string &message);
29 bool getAuth(
const std::string &playername,
30 std::string *dst_password,
31 std::set<std::string> *dst_privs,
32 s64 *dst_last_login =
nullptr);
34 const std::string &password);
36 const std::string &password);
static u32 allocateDynamicMediaCallback(lua_State *L, int f_idx)
Definition s_server.cpp:186
bool getAuth(const std::string &playername, std::string *dst_password, std::set< std::string > *dst_privs, s64 *dst_last_login=nullptr)
Definition s_server.cpp:10
void freeDynamicMediaCallback(u32 token)
Definition s_server.cpp:219
void createAuth(const std::string &playername, const std::string &password)
Definition s_server.cpp:91
void getAuthHandler()
Definition s_server.cpp:54
void readPrivileges(int index, std::set< std::string > &result)
Definition s_server.cpp:72
void on_shutdown()
Definition s_server.cpp:152
bool on_chat_message(const std::string &name, const std::string &message)
Definition s_server.cpp:126
std::string formatChatMessage(const std::string &name, const std::string &message)
Definition s_server.cpp:163
bool setPassword(const std::string &playername, const std::string &password)
Definition s_server.cpp:108
void on_mods_loaded()
Definition s_server.cpp:141
void on_dynamic_media_added(u32 token, const std::string &playername)
Definition s_server.cpp:234