Browse Source

Fix aliases error definitions being public

pull/8/head
Anton Tarasenko 4 years ago
parent
commit
346c7d094e
  1. 3
      sources/Aliases/AliasSource.uc
  2. 4
      sources/Aliases/AliasesAPI.uc

3
sources/Aliases/AliasSource.uc

@ -23,6 +23,7 @@
* along with Acedia. If not, see <https://www.gnu.org/licenses/>.
*/
class AliasSource extends Singleton
dependson(AssociativeArray)
config(AcediaAliases);
// (Sub-)class of `Aliases` objects that this `AliasSource` uses to store
@ -51,7 +52,7 @@ var private config array<AliasValuePair> record;
// Otherwise only stores first loaded alias.
var private AssociativeArray aliasHash;
var LoggerAPI.Definition errIncorrectAliasPair, warnDuplicateAlias;
var private LoggerAPI.Definition errIncorrectAliasPair, warnDuplicateAlias;
// Load and hash all the data `AliasSource` creation.
protected function OnCreated()

4
sources/Aliases/AliasesAPI.uc

@ -20,8 +20,8 @@
class AliasesAPI extends AcediaObject
dependson(LoggerAPI);
var LoggerAPI.Definition noWeaponAliasSource, invalidWeaponAliasSource;
var LoggerAPI.Definition noColorAliasSource, invalidColorAliasSource;
var private LoggerAPI.Definition noWeaponAliasSource, invalidWeaponAliasSource;
var private LoggerAPI.Definition noColorAliasSource, invalidColorAliasSource;
/**
* Provides an easier access to the instance of the `AliasSource` of

Loading…
Cancel
Save