2017-12-25 23:49:48 +00:00
|
|
|
#ifndef PREFERENCES_HPP_INCLUDED
|
|
|
|
#define PREFERENCES_HPP_INCLUDED
|
|
|
|
|
|
|
|
#include "../JavaClass/Object.hpp"
|
|
|
|
#include "../JavaClass/Class.hpp"
|
|
|
|
#include "../JavaClass/LinkedHashMap.hpp"
|
|
|
|
#include <cstdint>
|
2018-02-24 12:59:53 +00:00
|
|
|
#include <string>
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
namespace Internal
|
2017-12-25 23:49:48 +00:00
|
|
|
{
|
2018-03-18 14:38:29 +00:00
|
|
|
class Preferences : public Object
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Preferences(const void* Obj);
|
2018-12-27 18:17:09 +00:00
|
|
|
|
|
|
|
Preferences() = default;
|
|
|
|
Preferences(Preferences&& Obj) = default;
|
|
|
|
Preferences(const Preferences& Obj) = default;
|
|
|
|
Preferences& operator=(Preferences&& Obj) = default;
|
|
|
|
Preferences& operator=(const Preferences& Obj) = default;
|
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
static Class GetClass();
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
bool GetHideRoofs() const;
|
|
|
|
bool GetMuted() const;
|
|
|
|
LinkedHashMap GetPreferences() const;
|
|
|
|
std::int32_t GetScreenType() const;
|
|
|
|
std::string GetUsernameCached() const;
|
|
|
|
bool GetUsernameHidden() const;
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
};
|
|
|
|
}
|
2017-12-25 23:49:48 +00:00
|
|
|
|
|
|
|
#endif // PREFERENCES_HPP_INCLUDED
|