mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Dynamic_Add_Media v2 (#11550)
This commit is contained in:
@@ -49,6 +49,12 @@ public:
|
||||
const std::string &password);
|
||||
bool setPassword(const std::string &playername,
|
||||
const std::string &password);
|
||||
|
||||
/* dynamic media handling */
|
||||
u32 allocateDynamicMediaCallback(int f_idx);
|
||||
void freeDynamicMediaCallback(u32 token);
|
||||
void on_dynamic_media_added(u32 token, const char *playername);
|
||||
|
||||
private:
|
||||
void getAuthHandler();
|
||||
void readPrivileges(int index, std::set<std::string> &result);
|
||||
|
Reference in New Issue
Block a user