using System.Collections.Generic; using System.Collections.Immutable; using Barotrauma.LuaCs.Data; using FluentResults; namespace Barotrauma.LuaCs; public interface IUIStylesCollection : IService { public interface IFactory : IService { /// /// Returns a new for-each in the given /// or empty is none. /// /// /// /// IEnumerable CreateInstance(IStylesResourceInfo info, IStorageService storageService); } /// /// The assigned/target for this collection. /// public ContentPath Path { get; } /// /// Gets the with the given name. /// /// /// public Result GetFont(string name); /// /// Gets the with the given name. /// /// /// public Result GetSprite(string name); /// /// Gets the with the given name. /// /// /// public Result GetSpriteSheet(string name); /// /// Gets the with the given name. /// /// /// public Result GetCursor(string name); /// /// Gets the with the given name. /// /// /// public Result GetColor(string name); #region BAROTRAUMA.UISTYLEFILE /// /// Definition of /// internal void LoadFile(); /// /// Definition of /// internal void UnloadFile(); /// /// Definition of /// internal void Sort(); #endregion }