mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-18 05:47:52 +01:00
Switch mostly to Luna Services.
This commit is contained in:
parent
97c8d82b33
commit
3e4e3022d8
200 changed files with 348 additions and 481 deletions
|
|
@ -1,7 +1,6 @@
|
|||
using Dalamud.Plugin.Services;
|
||||
using Lumina.Data.Parsing;
|
||||
using OtterGui.Extensions;
|
||||
using OtterGui.Services;
|
||||
using OtterGui.Tasks;
|
||||
using Penumbra.Collections.Manager;
|
||||
using Penumbra.GameData;
|
||||
|
|
@ -25,7 +24,7 @@ using Schema2 = SharpGLTF.Schema2;
|
|||
using LuminaMaterial = Lumina.Models.Materials.Material;
|
||||
|
||||
public sealed class ModelManager(IFramework framework, MetaFileManager metaFileManager, ActiveCollections collections, GamePathParser parser)
|
||||
: SingleTaskQueue, IDisposable, IService
|
||||
: SingleTaskQueue, IDisposable, Luna.IService
|
||||
{
|
||||
private readonly IFramework _framework = framework;
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ public partial struct MetaFileInfo
|
|||
public MetaFileInfo(GamePathParser parser, string fileName)
|
||||
{
|
||||
// Set the primary type from the gamePath start.
|
||||
PrimaryType = parser.PathToObjectType(fileName);
|
||||
PrimaryType = GamePathParser.PathToObjectType(fileName);
|
||||
PrimaryId = 0;
|
||||
SecondaryType = BodySlot.Unknown;
|
||||
SecondaryId = 0;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ using Dalamud.Interface.Textures.TextureWraps;
|
|||
using Dalamud.Plugin.Services;
|
||||
using Lumina.Data.Files;
|
||||
using OtterGui.Log;
|
||||
using OtterGui.Services;
|
||||
using OtterGui.Tasks;
|
||||
using OtterTex;
|
||||
using SharpDX.Direct3D11;
|
||||
|
|
@ -18,7 +17,7 @@ using Image = SixLabors.ImageSharp.Image;
|
|||
namespace Penumbra.Import.Textures;
|
||||
|
||||
public sealed class TextureManager(IDataManager gameData, Logger logger, ITextureProvider textureProvider, IUiBuilder uiBuilder)
|
||||
: SingleTaskQueue, IDisposable, IService
|
||||
: SingleTaskQueue, IDisposable, Luna.IService
|
||||
{
|
||||
private readonly Logger _logger = logger;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue