mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-06 12:03:39 +00:00
42 lines
1.5 KiB
C++
42 lines
1.5 KiB
C++
// This Header is auto generated by BDSLiteLoader Toolchain
|
|
#pragma once
|
|
#define AUTO_GENERATED
|
|
#include "llapi/Global.h"
|
|
#include "Core.hpp"
|
|
|
|
#define BEFORE_EXTRA
|
|
|
|
#undef BEFORE_EXTRA
|
|
|
|
class Localization {
|
|
|
|
#define AFTER_EXTRA
|
|
|
|
#undef AFTER_EXTRA
|
|
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOCALIZATION
|
|
public:
|
|
class Localization& operator=(class Localization const &) = delete;
|
|
Localization(class Localization const &) = delete;
|
|
Localization() = delete;
|
|
#endif
|
|
|
|
public:
|
|
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOCALIZATION
|
|
#endif
|
|
MCAPI Localization(std::string const &, class Localization *);
|
|
MCAPI void appendTranslations(std::string const &, std::vector<std::string> const &, std::vector<std::string> const &, std::string const &);
|
|
MCAPI void appendTranslations(class Localization const &);
|
|
MCAPI void loadFromPack(std::string const &, class PackAccessStrategy const &, std::vector<std::string> const &);
|
|
MCAPI void loadFromResourcePackManager(class ResourcePackManager &, std::vector<std::string> const &);
|
|
|
|
//protected:
|
|
MCAPI struct OptionalString _get(std::string const &, std::vector<std::string> const &) const;
|
|
MCAPI class Core::PathBuffer<std::string> _getLangFilePath(std::string const &);
|
|
MCAPI struct OptionalString _getSimple(std::string const &) const;
|
|
MCAPI struct OptionalString _parseFormattedString(std::string const &) const;
|
|
MCAPI void _replaceTokens(std::string &, std::vector<std::string> const &) const;
|
|
MCAPI static bool _isCommaSeperatedLanguage(std::string const &);
|
|
|
|
protected:
|
|
|
|
}; |