From 204fbbff597573f6d69a5dab87a9d8703751e684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Mon, 2 Feb 2026 17:28:24 -0600 Subject: [PATCH] feat: some cleanup --- packages/game/{src/classes => JSExport}/GameInterface.cs | 3 ++- packages/game/{src/classes => Models}/BlitzFileProvider.cs | 3 ++- .../{src/classes => Synchronous}/SynchronousFileProvider.cs | 2 ++ packages/game/game.csproj | 1 + 4 files changed, 7 insertions(+), 2 deletions(-) rename packages/game/{src/classes => JSExport}/GameInterface.cs (97%) rename packages/game/{src/classes => Models}/BlitzFileProvider.cs (87%) rename packages/game/{src/classes => Synchronous}/SynchronousFileProvider.cs (96%) diff --git a/packages/game/src/classes/GameInterface.cs b/packages/game/JSExport/GameInterface.cs similarity index 97% rename from packages/game/src/classes/GameInterface.cs rename to packages/game/JSExport/GameInterface.cs index 98a604349..101417bd9 100644 --- a/packages/game/src/classes/GameInterface.cs +++ b/packages/game/JSExport/GameInterface.cs @@ -1,8 +1,9 @@ using System.Runtime.InteropServices; +using BlitzKit.Game.Models; using CUE4Parse.Compression; using Microsoft.JavaScript.NodeApi; -namespace game.src.classes; +namespace BlitzKit.Game.JSExport; [JSExport] public class GameInterface diff --git a/packages/game/src/classes/BlitzFileProvider.cs b/packages/game/Models/BlitzFileProvider.cs similarity index 87% rename from packages/game/src/classes/BlitzFileProvider.cs rename to packages/game/Models/BlitzFileProvider.cs index 49b9e631e..fc3a3f812 100644 --- a/packages/game/src/classes/BlitzFileProvider.cs +++ b/packages/game/Models/BlitzFileProvider.cs @@ -1,7 +1,8 @@ +using BlitzKit.Game.Synchronous; using CUE4Parse.MappingsProvider; using CUE4Parse.UE4.Versions; -namespace game.src.classes; +namespace BlitzKit.Game.Models; public class BlitzFileProvider : SynchronousFileProvider { diff --git a/packages/game/src/classes/SynchronousFileProvider.cs b/packages/game/Synchronous/SynchronousFileProvider.cs similarity index 96% rename from packages/game/src/classes/SynchronousFileProvider.cs rename to packages/game/Synchronous/SynchronousFileProvider.cs index 1125819e6..ccb401020 100644 --- a/packages/game/src/classes/SynchronousFileProvider.cs +++ b/packages/game/Synchronous/SynchronousFileProvider.cs @@ -3,6 +3,8 @@ using CUE4Parse.UE4.Exceptions; using CUE4Parse.UE4.Versions; using CUE4Parse.Utils; +namespace BlitzKit.Game.Synchronous; + public class SynchronousFileProvider( string directory, SearchOption searchOption, diff --git a/packages/game/game.csproj b/packages/game/game.csproj index bc2ff8ba4..cdae608f1 100644 --- a/packages/game/game.csproj +++ b/packages/game/game.csproj @@ -1,5 +1,6 @@  + BlitzKit.Game net9.0 enable enable