rename interfaces to packs
This commit is contained in:
@@ -11,7 +11,7 @@ class LayerConfig {
|
||||
Path = Path::Join(_ParentPath, _Data['Path']);
|
||||
|
||||
const string Manialink = GetManialink();
|
||||
Name = InterfacesManager::GetLayerName(Manialink);
|
||||
Name = PacksManager::GetLayerName(Manialink);
|
||||
|
||||
if (Name.Length == 0) {
|
||||
throw('Can\'t find Manialink name');
|
||||
|
@@ -1,4 +1,4 @@
|
||||
class InterfacesConfig {
|
||||
class PackConfig {
|
||||
string Name;
|
||||
string Author;
|
||||
string Version;
|
||||
@@ -6,9 +6,9 @@ class InterfacesConfig {
|
||||
array<LayerConfig> Layers;
|
||||
array<string> UnloadModules;
|
||||
|
||||
InterfacesConfig() {}
|
||||
PackConfig() {}
|
||||
|
||||
InterfacesConfig(const string &in _ParentPath, const string &in _Json) {
|
||||
PackConfig(const string &in _ParentPath, const string &in _Json) {
|
||||
const Json::Value@ Data = Json::Parse(_Json);
|
||||
|
||||
Name = Data['Name'];
|
Reference in New Issue
Block a user