Prechádzať zdrojové kódy

Add FFXIVClientStructs submodule and reorganize directory structure

Dragon 4 rokov pred
rodič
commit
ea3baa5f6e

+ 4 - 0
.gitmodules

@@ -0,0 +1,4 @@
+[submodule "FFXIVClientStructs"]
+	path = FFXIVClientStructs
+	url = https://github.com/aers/FFXIVClientStructs.git
+	branch = main

+ 1 - 0
FFXIVClientStructs

@@ -0,0 +1 @@
+Subproject commit 0af637bf1e810641deb33c5f01d02b387171c78a

+ 13 - 1
HuntBuddy.sln

@@ -1,6 +1,10 @@
 
 Microsoft Visual Studio Solution File, Format Version 12.00
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HuntBuddy", "HuntBuddy.csproj", "{69CDED6C-0BD1-47F3-905C-3F87B0D20789}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HuntBuddy", "HuntBuddy\HuntBuddy.csproj", "{69CDED6C-0BD1-47F3-905C-3F87B0D20789}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FFXIVClientStructs.Generators", "FFXIVClientStructs\FFXIVClientStructs.Generators\FFXIVClientStructs.Generators.csproj", "{6D31AE7E-2E4C-4A8E-9278-491E899E28F7}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FFXIVClientStructs", "FFXIVClientStructs\FFXIVClientStructs\FFXIVClientStructs.csproj", "{EC521931-1D8B-4B31-96A6-48095783DFCD}"
 EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -12,5 +16,13 @@ Global
 		{69CDED6C-0BD1-47F3-905C-3F87B0D20789}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{69CDED6C-0BD1-47F3-905C-3F87B0D20789}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{69CDED6C-0BD1-47F3-905C-3F87B0D20789}.Release|Any CPU.Build.0 = Release|Any CPU
+		{6D31AE7E-2E4C-4A8E-9278-491E899E28F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{6D31AE7E-2E4C-4A8E-9278-491E899E28F7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{6D31AE7E-2E4C-4A8E-9278-491E899E28F7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{6D31AE7E-2E4C-4A8E-9278-491E899E28F7}.Release|Any CPU.Build.0 = Release|Any CPU
+		{EC521931-1D8B-4B31-96A6-48095783DFCD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{EC521931-1D8B-4B31-96A6-48095783DFCD}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{EC521931-1D8B-4B31-96A6-48095783DFCD}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{EC521931-1D8B-4B31-96A6-48095783DFCD}.Release|Any CPU.Build.0 = Release|Any CPU
 	EndGlobalSection
 EndGlobal

+ 0 - 0
Attributes/AliasesAttribute.cs → HuntBuddy/Attributes/AliasesAttribute.cs


+ 0 - 0
Attributes/CommandAttribute.cs → HuntBuddy/Attributes/CommandAttribute.cs


+ 0 - 0
Attributes/DoNotShowInHelpAttribute.cs → HuntBuddy/Attributes/DoNotShowInHelpAttribute.cs


+ 0 - 0
Attributes/HelpMessageAttribute.cs → HuntBuddy/Attributes/HelpMessageAttribute.cs


+ 0 - 0
Configuration.cs → HuntBuddy/Configuration.cs


+ 0 - 0
DalamudPackager.targets → HuntBuddy/DalamudPackager.targets


+ 4 - 4
HuntBuddy.csproj → HuntBuddy/HuntBuddy.csproj

@@ -8,6 +8,7 @@
         <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
         <RootNamespace>HuntBuddy</RootNamespace>
         <IsPackable>false</IsPackable>
+        <LangVersion>default</LangVersion>
     </PropertyGroup>
     <PropertyGroup>
         <ProduceReferenceAssembly>false</ProduceReferenceAssembly>
@@ -17,10 +18,6 @@
             <HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\Dalamud.dll</HintPath>
             <Private>False</Private>
         </Reference>
-        <Reference Include="FFXIVClientStructs">
-            <HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\FFXIVClientStructs.dll</HintPath>
-            <Private>False</Private>
-        </Reference>
         <Reference Include="ImGui.NET">
             <HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\ImGui.NET.dll</HintPath>
             <Private>False</Private>
@@ -45,4 +42,7 @@
     <ItemGroup>
       <PackageReference Include="DalamudPackager" Version="2.1.7" />
     </ItemGroup>
+    <ItemGroup>
+      <ProjectReference Include="..\FFXIVClientStructs\FFXIVClientStructs\FFXIVClientStructs.csproj" />
+    </ItemGroup>
 </Project>

+ 0 - 0
HuntBuddy.json → HuntBuddy/HuntBuddy.json


+ 0 - 0
Interface.cs → HuntBuddy/Interface.cs


+ 0 - 0
Ipc/TeleportConsumer.cs → HuntBuddy/Ipc/TeleportConsumer.cs


+ 0 - 0
Location.cs → HuntBuddy/Location.cs


+ 0 - 0
MobHuntEntry.cs → HuntBuddy/MobHuntEntry.cs


+ 0 - 0
Plugin.cs → HuntBuddy/Plugin.cs


+ 0 - 0
PluginCommandManager.cs → HuntBuddy/PluginCommandManager.cs


+ 0 - 0
Structs/MobHuntStruct.cs → HuntBuddy/Structs/MobHuntStruct.cs


+ 0 - 0
res/icon.png → HuntBuddy/res/icon.png


+ 0 - 0
res/image1.png → HuntBuddy/res/image1.png


+ 0 - 0
settings.stylecop → HuntBuddy/settings.stylecop