mirror of
https://github.com/4sval/FModel.git
synced 2026-09-25 02:29:21 -05:00
stuff
This commit is contained in:
Submodule CUE4Parse updated: f535bd0092...5ea2543cef
@@ -2,6 +2,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows;
|
||||
using CUE4Parse.GameTypes.FN.Enums;
|
||||
using CUE4Parse.UE4.Assets.Exports;
|
||||
using CUE4Parse.UE4.Assets.Exports.Engine;
|
||||
using CUE4Parse.UE4.Assets.Exports.Material;
|
||||
@@ -12,7 +13,6 @@ using CUE4Parse.UE4.Objects.Core.Math;
|
||||
using CUE4Parse.UE4.Objects.GameplayTags;
|
||||
using CUE4Parse.UE4.Objects.UObject;
|
||||
using CUE4Parse_Conversion.Textures;
|
||||
using CUE4Parse.GameTypes.FN.Enums;
|
||||
using FModel.Settings;
|
||||
using SkiaSharp;
|
||||
|
||||
|
||||
@@ -77,9 +77,9 @@ public partial class MainWindow
|
||||
_discordHandler.Initialize(_applicationView.CUE4Parse.Game);
|
||||
|
||||
#if DEBUG
|
||||
await _threadWorkerView.Begin(_ =>
|
||||
_applicationView.CUE4Parse.Extract(
|
||||
"/Game/Weapons/FORT_Melee/Pickaxe_Slurp_Monster/Meshes/Slurp_Monster_Axe.uasset"));
|
||||
await _threadWorkerView.Begin(cancellationToken =>
|
||||
_applicationView.CUE4Parse.Extract(cancellationToken,
|
||||
"FortniteGame/Content/Characters/Player/Male/Medium/Bodies/M_MED_Despair/Meshes/M_MED_Despair.uasset"));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -536,7 +536,7 @@ public class CUE4ParseViewModel : ViewModel
|
||||
case "uasset":
|
||||
case "umap":
|
||||
{
|
||||
var exports = Provider.LoadObjectExports(fullPath);
|
||||
var exports = Provider.LoadObjectExports(fullPath); // cancellationToken
|
||||
TabControl.SelectedTab.SetDocumentText(JsonConvert.SerializeObject(exports, Formatting.Indented), bulkSave);
|
||||
if (bulkSave) break;
|
||||
|
||||
@@ -709,7 +709,7 @@ public class CUE4ParseViewModel : ViewModel
|
||||
TabControl.AddTab(fullPath.SubstringAfterLast('/'), fullPath.SubstringBeforeLast('/'));
|
||||
TabControl.SelectedTab.ScrollTrigger = objectName;
|
||||
|
||||
var exports = Provider.LoadObjectExports(fullPath);
|
||||
var exports = Provider.LoadObjectExports(fullPath); // cancellationToken
|
||||
TabControl.SelectedTab.Highlighter = AvalonExtensions.HighlighterSelector(""); // json
|
||||
TabControl.SelectedTab.SetDocumentText(JsonConvert.SerializeObject(exports, Formatting.Indented), false);
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using FModel.Framework;
|
||||
|
||||
Reference in New Issue
Block a user