1
0
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:
sfan5
2021-09-09 16:51:35 +02:00
committed by GitHub
parent bcb6565483
commit bbfae0cc67
19 changed files with 796 additions and 246 deletions

View File

@@ -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);