mirror of
https://github.com/4sval/FModel.git
synced 2026-06-21 07:20:05 -05:00
stuff
This commit is contained in:
parent
a664f34bec
commit
d047b56978
|
|
@ -1 +1 @@
|
|||
Subproject commit f535bd0092024e5cc26794424ac8b83777ad4522
|
||||
Subproject commit 5ea2543cefa613ac7e49481bfb8977bf20d38238
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user