From 449d70237d4294375ca2968c1a6470c9c95f4551 Mon Sep 17 00:00:00 2001 From: Anna Date: Mon, 17 Jun 2024 12:04:57 -0400 Subject: [PATCH] chore: initial commit --- Plugin.cs | 108 ++++++++++++++++ TimePasses.csproj | 54 ++++++++ TimePasses.sln | 25 ++++ ...CoreApp,Version=v8.0.AssemblyAttributes.cs | 4 + .../net8.0-windows/TimePasses.AssemblyInfo.cs | 24 ++++ .../TimePasses.AssemblyInfoInputs.cache | 1 + ....GeneratedMSBuildEditorConfig.editorconfig | 13 ++ .../TimePasses.GlobalUsings.g.cs | 8 ++ .../TimePasses.csproj.AssemblyReference.cache | Bin 0 -> 360 bytes ...CoreApp,Version=v8.0.AssemblyAttributes.cs | 4 + obj/Debug/net8.0/TimePasses.AssemblyInfo.cs | 22 ++++ .../TimePasses.AssemblyInfoInputs.cache | 1 + ....GeneratedMSBuildEditorConfig.editorconfig | 13 ++ obj/Debug/net8.0/TimePasses.GlobalUsings.g.cs | 8 ++ obj/Debug/net8.0/TimePasses.assets.cache | Bin 0 -> 148 bytes obj/TimePasses.csproj.nuget.dgspec.json | 70 +++++++++++ obj/TimePasses.csproj.nuget.g.props | 15 +++ obj/TimePasses.csproj.nuget.g.targets | 2 + obj/project.assets.json | 118 ++++++++++++++++++ obj/project.nuget.cache | 10 ++ ...CoreApp,Version=v8.0.AssemblyAttributes.cs | 4 + .../Debug/net8.0-windows/Sentry.Attributes.cs | 16 +++ .../net8.0-windows/TimePasses.AssemblyInfo.cs | 24 ++++ .../TimePasses.AssemblyInfoInputs.cache | 1 + ....GeneratedMSBuildEditorConfig.editorconfig | 13 ++ .../TimePasses.GlobalUsings.g.cs | 8 ++ .../net8.0-windows/TimePasses.assets.cache | Bin 0 -> 801 bytes .../TimePasses.csproj.AssemblyReference.cache | Bin 0 -> 764 bytes packages.lock.json | 13 ++ replacements.yaml | 5 + 30 files changed, 584 insertions(+) create mode 100644 Plugin.cs create mode 100644 TimePasses.csproj create mode 100644 TimePasses.sln create mode 100644 obj/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs create mode 100644 obj/Debug/net8.0-windows/TimePasses.AssemblyInfo.cs create mode 100644 obj/Debug/net8.0-windows/TimePasses.AssemblyInfoInputs.cache create mode 100644 obj/Debug/net8.0-windows/TimePasses.GeneratedMSBuildEditorConfig.editorconfig create mode 100644 obj/Debug/net8.0-windows/TimePasses.GlobalUsings.g.cs create mode 100644 obj/Debug/net8.0-windows/TimePasses.csproj.AssemblyReference.cache create mode 100644 obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs create mode 100644 obj/Debug/net8.0/TimePasses.AssemblyInfo.cs create mode 100644 obj/Debug/net8.0/TimePasses.AssemblyInfoInputs.cache create mode 100644 obj/Debug/net8.0/TimePasses.GeneratedMSBuildEditorConfig.editorconfig create mode 100644 obj/Debug/net8.0/TimePasses.GlobalUsings.g.cs create mode 100644 obj/Debug/net8.0/TimePasses.assets.cache create mode 100644 obj/TimePasses.csproj.nuget.dgspec.json create mode 100644 obj/TimePasses.csproj.nuget.g.props create mode 100644 obj/TimePasses.csproj.nuget.g.targets create mode 100644 obj/project.assets.json create mode 100644 obj/project.nuget.cache create mode 100644 obj/x64/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs create mode 100644 obj/x64/Debug/net8.0-windows/Sentry.Attributes.cs create mode 100644 obj/x64/Debug/net8.0-windows/TimePasses.AssemblyInfo.cs create mode 100644 obj/x64/Debug/net8.0-windows/TimePasses.AssemblyInfoInputs.cache create mode 100644 obj/x64/Debug/net8.0-windows/TimePasses.GeneratedMSBuildEditorConfig.editorconfig create mode 100644 obj/x64/Debug/net8.0-windows/TimePasses.GlobalUsings.g.cs create mode 100644 obj/x64/Debug/net8.0-windows/TimePasses.assets.cache create mode 100644 obj/x64/Debug/net8.0-windows/TimePasses.csproj.AssemblyReference.cache create mode 100644 packages.lock.json create mode 100644 replacements.yaml diff --git a/Plugin.cs b/Plugin.cs new file mode 100644 index 0000000..3a08745 --- /dev/null +++ b/Plugin.cs @@ -0,0 +1,108 @@ +using System.Runtime.InteropServices; +using System.Text; +using Dalamud.Hooking; +using Dalamud.IoC; +using Dalamud.Plugin; +using Dalamud.Plugin.Services; +using Dalamud.Utility.Signatures; +using YamlDotNet.Serialization; +using YamlDotNet.Serialization.NamingConventions; + +namespace TimePasses; + +public class Plugin : IDalamudPlugin { + [PluginService] + private IGameInteropProvider GameInterop { get; init; } + + [PluginService] + private IPluginLog Log { get; init; } + + private HttpClient Client { get; } = new(); + + private DataFile Data { get; set; } + private Dictionary ReplacementPointers { get; set; } + private SemaphoreSlim Mutex { get; } = new(1, 1); + + private static class Signatures { + internal const string GetBalloonRow = "E8 ?? ?? ?? ?? 48 85 C0 74 4D 48 89 5C 24"; + } + + private delegate nint GetBalloonRowDelegate(uint rowId); + + [Signature(Signatures.GetBalloonRow, DetourName = nameof(GetBalloonRowDetour))] + private Hook? GetBalloonRowHook { get; init; } + + public Plugin() { + Task.Run(async () => { + #if DEBUG + var stream = typeof(Plugin).Assembly.GetManifestResourceStream("TimePasses.replacements.yaml"); + using var reader = new StreamReader(stream!); + var yaml = await reader.ReadToEndAsync(); + #else + using var resp = await this.Client.GetAsync("https://git.anna.lgbt/anna/TimePasses/raw/branch/main/replacements.yaml"); + var yaml = await resp.Content.ReadAsStringAsync(); + #endif + + var de = new DeserializerBuilder() + .WithNamingConvention(UnderscoredNamingConvention.Instance) + .Build(); + + await this.Mutex.WaitAsync(); + try { + this.Data = de.Deserialize(yaml); + foreach (var replacement in this.Data.Replacements) { + var textBytes = Encoding.UTF8.GetBytes(replacement.Text); + + unsafe { + var ptr = (uint*) Marshal.AllocHGlobal(8 + textBytes.Length + 1); + try { + *ptr = 8; + *(ptr + 1) = replacement.Slowly ? 1u : 0u; + + var bytes = (byte*) (ptr + 2); + bytes[textBytes.Length] = 0; + Marshal.Copy(textBytes, 0, (nint) bytes, textBytes.Length); + + this.ReplacementPointers![replacement.Id] = (nint) ptr; + } catch (Exception ex) { + this.Log!.Error(ex, "Error serialising balloon message"); + Marshal.FreeHGlobal((nint) ptr); + } + } + } + } finally { + this.Mutex.Release(); + } + }); + } + + public void Dispose() { + this.Client.Dispose(); + this.Mutex.Dispose(); + foreach (var (_, ptr) in this.ReplacementPointers) { + Marshal.FreeHGlobal(ptr); + } + + this.ReplacementPointers.Clear(); + } + + private nint GetBalloonRowDetour(uint rowId) { + if (this.ReplacementPointers.TryGetValue(rowId, out var ptr)) { + return ptr; + } + + return this.GetBalloonRowHook!.Original(rowId); + } +} + +[Serializable] +internal class DataFile { + public Replacement[] Replacements { get; init; } +} + +[Serializable] +internal class Replacement { + public uint Id { get; init; } + public string Text { get; init; } + public bool Slowly { get; init; } +} diff --git a/TimePasses.csproj b/TimePasses.csproj new file mode 100644 index 0000000..2da16ac --- /dev/null +++ b/TimePasses.csproj @@ -0,0 +1,54 @@ + + + + 1.0.0 + net8.0-windows + enable + enable + true + true + false + true + true + preview + true + full + Debug;Release + x64 + + + + true + true + CS8618;CS1591;CS1573;IDE0003;MSB3277 + + + + $(AppData)\XIVLauncher\addon\Hooks\dev + + + + $(DALAMUD_HOME) + + + + $(HOME)/dalamud + true + + + + + $(DalamudLibPath)\Dalamud.dll + false + + + $(DalamudLibPath)\ImGui.NET.dll + false + + + + + + + + diff --git a/TimePasses.sln b/TimePasses.sln new file mode 100644 index 0000000..fb703d8 --- /dev/null +++ b/TimePasses.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.002.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TimePasses", "TimePasses.csproj", "{5F60F6C6-A0F4-448E-A35A-54653EF24EE9}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5F60F6C6-A0F4-448E-A35A-54653EF24EE9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5F60F6C6-A0F4-448E-A35A-54653EF24EE9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5F60F6C6-A0F4-448E-A35A-54653EF24EE9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5F60F6C6-A0F4-448E-A35A-54653EF24EE9}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {3B0C57F1-5712-405F-BF67-9EA51C2B96D5} + EndGlobalSection +EndGlobal diff --git a/obj/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs b/obj/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs new file mode 100644 index 0000000..2217181 --- /dev/null +++ b/obj/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] diff --git a/obj/Debug/net8.0-windows/TimePasses.AssemblyInfo.cs b/obj/Debug/net8.0-windows/TimePasses.AssemblyInfo.cs new file mode 100644 index 0000000..0cc15df --- /dev/null +++ b/obj/Debug/net8.0-windows/TimePasses.AssemblyInfo.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("TimePasses")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("TimePasses")] +[assembly: System.Reflection.AssemblyTitleAttribute("TimePasses")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")] +[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/obj/Debug/net8.0-windows/TimePasses.AssemblyInfoInputs.cache b/obj/Debug/net8.0-windows/TimePasses.AssemblyInfoInputs.cache new file mode 100644 index 0000000..4bd4776 --- /dev/null +++ b/obj/Debug/net8.0-windows/TimePasses.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +686ef8ed24066c6bddc4d5501ac7527757d6e0919514757a1228df6786fe7946 diff --git a/obj/Debug/net8.0-windows/TimePasses.GeneratedMSBuildEditorConfig.editorconfig b/obj/Debug/net8.0-windows/TimePasses.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..6c63a60 --- /dev/null +++ b/obj/Debug/net8.0-windows/TimePasses.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,13 @@ +is_global = true +build_property.TargetFramework = net8.0-windows +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = TimePasses +build_property.ProjectDir = /home/anna/code/plugins/TimePasses/ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/obj/Debug/net8.0-windows/TimePasses.GlobalUsings.g.cs b/obj/Debug/net8.0-windows/TimePasses.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/obj/Debug/net8.0-windows/TimePasses.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/obj/Debug/net8.0-windows/TimePasses.csproj.AssemblyReference.cache b/obj/Debug/net8.0-windows/TimePasses.csproj.AssemblyReference.cache new file mode 100644 index 0000000000000000000000000000000000000000..1e884a6eb3354082739a3403655a3fe1a44e0d20 GIT binary patch literal 360 zcmZQ$WMW`oV3gC($j?pHPt40p)K5vwNz5%x(RYE+dMPgqscZER2ATHXzN-03c>lfB*mh literal 0 HcmV?d00001 diff --git a/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs b/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs new file mode 100644 index 0000000..2217181 --- /dev/null +++ b/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] diff --git a/obj/Debug/net8.0/TimePasses.AssemblyInfo.cs b/obj/Debug/net8.0/TimePasses.AssemblyInfo.cs new file mode 100644 index 0000000..11afc49 --- /dev/null +++ b/obj/Debug/net8.0/TimePasses.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("TimePasses")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("TimePasses")] +[assembly: System.Reflection.AssemblyTitleAttribute("TimePasses")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/obj/Debug/net8.0/TimePasses.AssemblyInfoInputs.cache b/obj/Debug/net8.0/TimePasses.AssemblyInfoInputs.cache new file mode 100644 index 0000000..a24a3b6 --- /dev/null +++ b/obj/Debug/net8.0/TimePasses.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +f910133122f2815b8bc0ff543fa97d148b588a249a0fc831554ed5cd80fb81ff diff --git a/obj/Debug/net8.0/TimePasses.GeneratedMSBuildEditorConfig.editorconfig b/obj/Debug/net8.0/TimePasses.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..75f3b98 --- /dev/null +++ b/obj/Debug/net8.0/TimePasses.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,13 @@ +is_global = true +build_property.TargetFramework = net8.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = TimePasses +build_property.ProjectDir = /home/anna/code/plugins/TimePasses/ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/obj/Debug/net8.0/TimePasses.GlobalUsings.g.cs b/obj/Debug/net8.0/TimePasses.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/obj/Debug/net8.0/TimePasses.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/obj/Debug/net8.0/TimePasses.assets.cache b/obj/Debug/net8.0/TimePasses.assets.cache new file mode 100644 index 0000000000000000000000000000000000000000..9491603ba5c6a8ad28aed6c892201247ccdf37e0 GIT binary patch literal 148 zcmWIWc6a1qU|@K7;X{%143!0pYr>qZ3|jB)JlYoXvF?=Y;{Ob`8Q(OcCIHnC3mAb4 jrS&uNb5r#b^YRk)_3}#7Q%m#<5|gtN(^HG}37G=`iB}u3 literal 0 HcmV?d00001 diff --git a/obj/TimePasses.csproj.nuget.dgspec.json b/obj/TimePasses.csproj.nuget.dgspec.json new file mode 100644 index 0000000..e66e3da --- /dev/null +++ b/obj/TimePasses.csproj.nuget.dgspec.json @@ -0,0 +1,70 @@ +{ + "format": 1, + "restore": { + "/home/anna/code/plugins/TimePasses/TimePasses.csproj": {} + }, + "projects": { + "/home/anna/code/plugins/TimePasses/TimePasses.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/anna/code/plugins/TimePasses/TimePasses.csproj", + "projectName": "TimePasses", + "projectPath": "/home/anna/code/plugins/TimePasses/TimePasses.csproj", + "packagesPath": "/home/anna/.nuget/packages/", + "outputPath": "/home/anna/code/plugins/TimePasses/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/anna/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net8.0-windows" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0-windows7.0": { + "targetAlias": "net8.0-windows", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreLockProperties": { + "restorePackagesWithLockFile": "true" + } + }, + "frameworks": { + "net8.0-windows7.0": { + "targetAlias": "net8.0-windows", + "dependencies": { + "YamlDotNet": { + "target": "Package", + "version": "[15.3.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/lib64/dotnet/sdk/8.0.104/PortableRuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/obj/TimePasses.csproj.nuget.g.props b/obj/TimePasses.csproj.nuget.g.props new file mode 100644 index 0000000..9c8a646 --- /dev/null +++ b/obj/TimePasses.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + /home/anna/.nuget/packages/ + /home/anna/.nuget/packages/ + PackageReference + 6.8.1 + + + + + \ No newline at end of file diff --git a/obj/TimePasses.csproj.nuget.g.targets b/obj/TimePasses.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/obj/TimePasses.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/obj/project.assets.json b/obj/project.assets.json new file mode 100644 index 0000000..8891416 --- /dev/null +++ b/obj/project.assets.json @@ -0,0 +1,118 @@ +{ + "version": 3, + "targets": { + "net8.0-windows7.0": { + "YamlDotNet/15.3.0": { + "type": "package", + "compile": { + "lib/net8.0/YamlDotNet.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/YamlDotNet.dll": { + "related": ".xml" + } + } + } + } + }, + "libraries": { + "YamlDotNet/15.3.0": { + "sha512": "F93japYa9YrJ59AZGhgdaUGHN7ITJ55FBBg/D/8C0BDgahv/rQD6MOSwHxOJJpon1kYyslVbeBrQ2wcJhox01w==", + "type": "package", + "path": "yamldotnet/15.3.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.txt", + "README.md", + "images/yamldotnet.png", + "lib/net47/YamlDotNet.dll", + "lib/net47/YamlDotNet.xml", + "lib/net6.0/YamlDotNet.dll", + "lib/net6.0/YamlDotNet.xml", + "lib/net7.0/YamlDotNet.dll", + "lib/net7.0/YamlDotNet.xml", + "lib/net8.0/YamlDotNet.dll", + "lib/net8.0/YamlDotNet.xml", + "lib/netstandard2.0/YamlDotNet.dll", + "lib/netstandard2.0/YamlDotNet.xml", + "lib/netstandard2.1/YamlDotNet.dll", + "lib/netstandard2.1/YamlDotNet.xml", + "yamldotnet.15.3.0.nupkg.sha512", + "yamldotnet.nuspec" + ] + } + }, + "projectFileDependencyGroups": { + "net8.0-windows7.0": [ + "YamlDotNet >= 15.3.0" + ] + }, + "packageFolders": { + "/home/anna/.nuget/packages/": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/anna/code/plugins/TimePasses/TimePasses.csproj", + "projectName": "TimePasses", + "projectPath": "/home/anna/code/plugins/TimePasses/TimePasses.csproj", + "packagesPath": "/home/anna/.nuget/packages/", + "outputPath": "/home/anna/code/plugins/TimePasses/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/anna/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net8.0-windows" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0-windows7.0": { + "targetAlias": "net8.0-windows", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreLockProperties": { + "restorePackagesWithLockFile": "true" + } + }, + "frameworks": { + "net8.0-windows7.0": { + "targetAlias": "net8.0-windows", + "dependencies": { + "YamlDotNet": { + "target": "Package", + "version": "[15.3.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/lib64/dotnet/sdk/8.0.104/PortableRuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/obj/project.nuget.cache b/obj/project.nuget.cache new file mode 100644 index 0000000..3557c5e --- /dev/null +++ b/obj/project.nuget.cache @@ -0,0 +1,10 @@ +{ + "version": 2, + "dgSpecHash": "0AOTCq29iUc+8XajVr0eACFUAHNQ7kW08ZK+AhezGJjOOcOoe+eumzpxSe8fwvPY+7jk8U1+9Vt7W+fsCGFVWQ==", + "success": true, + "projectFilePath": "/home/anna/code/plugins/TimePasses/TimePasses.csproj", + "expectedPackageFiles": [ + "/home/anna/.nuget/packages/yamldotnet/15.3.0/yamldotnet.15.3.0.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file diff --git a/obj/x64/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs b/obj/x64/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs new file mode 100644 index 0000000..2217181 --- /dev/null +++ b/obj/x64/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] diff --git a/obj/x64/Debug/net8.0-windows/Sentry.Attributes.cs b/obj/x64/Debug/net8.0-windows/Sentry.Attributes.cs new file mode 100644 index 0000000..f1857ad --- /dev/null +++ b/obj/x64/Debug/net8.0-windows/Sentry.Attributes.cs @@ -0,0 +1,16 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyMetadata("Sentry.ProjectDirectory", "/home/anna/code/plugins/TimePasses/")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/obj/x64/Debug/net8.0-windows/TimePasses.AssemblyInfo.cs b/obj/x64/Debug/net8.0-windows/TimePasses.AssemblyInfo.cs new file mode 100644 index 0000000..0cc15df --- /dev/null +++ b/obj/x64/Debug/net8.0-windows/TimePasses.AssemblyInfo.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("TimePasses")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("TimePasses")] +[assembly: System.Reflection.AssemblyTitleAttribute("TimePasses")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")] +[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/obj/x64/Debug/net8.0-windows/TimePasses.AssemblyInfoInputs.cache b/obj/x64/Debug/net8.0-windows/TimePasses.AssemblyInfoInputs.cache new file mode 100644 index 0000000..4bd4776 --- /dev/null +++ b/obj/x64/Debug/net8.0-windows/TimePasses.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +686ef8ed24066c6bddc4d5501ac7527757d6e0919514757a1228df6786fe7946 diff --git a/obj/x64/Debug/net8.0-windows/TimePasses.GeneratedMSBuildEditorConfig.editorconfig b/obj/x64/Debug/net8.0-windows/TimePasses.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..6c63a60 --- /dev/null +++ b/obj/x64/Debug/net8.0-windows/TimePasses.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,13 @@ +is_global = true +build_property.TargetFramework = net8.0-windows +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = TimePasses +build_property.ProjectDir = /home/anna/code/plugins/TimePasses/ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/obj/x64/Debug/net8.0-windows/TimePasses.GlobalUsings.g.cs b/obj/x64/Debug/net8.0-windows/TimePasses.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/obj/x64/Debug/net8.0-windows/TimePasses.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/obj/x64/Debug/net8.0-windows/TimePasses.assets.cache b/obj/x64/Debug/net8.0-windows/TimePasses.assets.cache new file mode 100644 index 0000000000000000000000000000000000000000..b2638801642db5bf8735a255bb85ae8d66efaf38 GIT binary patch literal 801 zcmb_a%SyvQ6s?**Qf=)EMZ^zKH1UDp#znC-L?sjrg19Kt=Gq1)lhB!n*}HP>59rp9 z@CW=2zrY{xj!kG#?5YEYJNMq1bGVPrnbBOzWHN6X@5asP{_C-|+NgXzX*Rsr#*VRN zbU&Xzx{sSH^Y|z}b7Tt^Qj}6b`U)Z&$A23sU7S$Jv&%c z5RzeiNu`m=aylXDPu6hM9yGU0llp7=p@?)M2*1X9*oz=g|*z!EOQ Mo)jogc1dpNH_}eWwEzGB literal 0 HcmV?d00001 diff --git a/obj/x64/Debug/net8.0-windows/TimePasses.csproj.AssemblyReference.cache b/obj/x64/Debug/net8.0-windows/TimePasses.csproj.AssemblyReference.cache new file mode 100644 index 0000000000000000000000000000000000000000..8ee3bf6dbe7b35a355f6fced26e3566ace4a9ebc GIT binary patch literal 764 zcmZQ$WM*JsV3gC($j?pHPt40p)K5vwNz5%x(RYE+dMPgqscZER2ATHXzZ>Zb)v{%PUP!EzvJXOwLYBPc7E3 zOw7$m$uG$RiW!>f8S5G7=VT`71GyGJW+YJ3CBMWkwFKca=f*IXK5$HMA*31kk-P(9 z!XgIMYm5s(aw?GMnF3_8F+uo2!H$LuEFf)+45?4GTy5{gM0-Eo{YW7^w5a}EgNk?M zjw!!>RN6LtzddW(<%F#=O6*OyjaHp|ayq(e;=adL?~XG({3J2;$gZ{T1LWSVNtmQ? zF;$FtbA`Bt;JfH;3z+Utx3y@JzVz>h!T}y}ugqU>jItz~w-$V;JC^9qls%_C*e&+) ziVH`)6RnxnGjagk^hVOP-$rzO9HSq?lSuJk3W^0{;vqHJ(9*=zBF#A2&@?g4G!