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

4
sources/Aliases/AliasesAPI.uc

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

Loading…
Cancel
Save