You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.5 KiB
41 lines
1.5 KiB
/** |
|
* Object for storing launcher's core settings and defining types that will be |
|
* used everywhere in this package. |
|
* Copyright 2022 Anton Tarasenko |
|
*------------------------------------------------------------------------------ |
|
* This file is part of Acedia. |
|
* |
|
* Acedia is free software: you can redistribute it and/or modify |
|
* it under the terms of the GNU General Public License as published by |
|
* the Free Software Foundation, version 3 of the License, or |
|
* (at your option) any later version. |
|
* |
|
* Acedia is distributed in the hope that it will be useful, |
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
* GNU General Public License for more details. |
|
* |
|
* You should have received a copy of the GNU General Public License |
|
* along with Acedia. If not, see <https://www.gnu.org/licenses/>. |
|
*/ |
|
class Packages extends Object |
|
config(AcediaLauncher); |
|
|
|
// Load Acedia on the client as well? DO NOT TOUCH THIS |
|
var public config bool clientside; |
|
// Array of predefined services that must be started along with Acedia mutator. |
|
var public config array<string> package; |
|
// Set to `true` to activate Acedia's game modes system |
|
var public config bool useGameModes; |
|
|
|
struct FeatureConfigPair |
|
{ |
|
var public class<Feature> featureClass; |
|
var public Text configName; |
|
}; |
|
|
|
defaultproperties |
|
{ |
|
clientside = false |
|
useGameModes = false |
|
} |