using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; namespace Barotrauma.LuaCs.Data; public interface IConfigResourceInfo : IResourceInfo, IResourceCultureInfo, IPackageDependenciesInfo, IPackageInfo { } public interface IConfigProfileResourceInfo : IResourceInfo, IResourceCultureInfo, IPackageDependenciesInfo, IPackageInfo { } public interface ILocalizationResourceInfo : IResourceInfo, IResourceCultureInfo, IPackageDependenciesInfo, IPackageInfo { } /// /// Represents loadable Lua files. /// public interface ILuaResourceInfo : IResourceInfo, IResourceCultureInfo, IPackageDependenciesInfo, IPackageInfo { } public interface IAssemblyResourceInfo : IResourceInfo, IResourceCultureInfo, IPackageDependenciesInfo, IPackageInfo { /// /// The friendly name of the assembly. Script files belonging to the same assembly should all have the same name. /// Legacy scripts will all be given the sanitized name of the Content Package they belong to. /// public string FriendlyName { get; } /// /// Is this entry referring to a script file collection. /// public bool IsScript { get; } } #region Collections public interface IAssembliesResourcesInfo { ImmutableArray Assemblies { get; } } public interface ILocalizationsResourcesInfo { ImmutableArray Localizations { get; } } public interface ILuaScriptsResourcesInfo { ImmutableArray LuaScripts { get; } } public interface IConfigsResourcesInfo { ImmutableArray Configs { get; } } public interface IConfigProfilesResourcesInfo { ImmutableArray ConfigProfiles { get; } } #endregion