mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-06-18 15:49:47 +03:00
unknown fixes
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
using System.Numerics;
|
||||
using ImGuiNET;
|
||||
using MissionTmaLib;
|
||||
using MissionTmaLib.Parsing;
|
||||
using NativeFileDialogSharp;
|
||||
using NResLib;
|
||||
@ -91,6 +92,15 @@ namespace NResUI.ImGuiUI
|
||||
var parseResult = MissionTmaParser.ReadFile(path);
|
||||
|
||||
_missionTmaViewModel.SetParseResult(parseResult, path);
|
||||
|
||||
var orderedBuildings = parseResult.Mission.GameObjectsData.GameObjectInfos.Where(x => x.Type == GameObjectType.Building)
|
||||
.OrderBy(x => x.Order)
|
||||
.ToList();
|
||||
|
||||
foreach (var gameObjectInfo in orderedBuildings)
|
||||
{
|
||||
Console.WriteLine($"{gameObjectInfo.Order} : {gameObjectInfo.DatString}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -254,9 +254,9 @@ public class MissionTmaExplorer : IImGuiPanel
|
||||
ImGui.SameLine();
|
||||
ImGui.Text(gameObjectInfo.OwningClanIndex.ToString());
|
||||
|
||||
ImGui.Text("Неизвестное число 3: ");
|
||||
ImGui.Text("Порядковый номер: ");
|
||||
ImGui.SameLine();
|
||||
ImGui.Text(gameObjectInfo.UnknownInt3.ToString());
|
||||
ImGui.Text(gameObjectInfo.Order.ToString());
|
||||
|
||||
ImGui.Text("Вектор позиции: ");
|
||||
ImGui.SameLine();
|
||||
|
Reference in New Issue
Block a user