diff --git a/.gitignore b/.gitignore
index 6dea9ff..e561c86 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,5 @@
AssemblyInfo.cs
Solution.sln
+.vs
+**/bin/
+**/obj/
diff --git a/FatePaths/FatePaths.csproj b/FatePaths/FatePaths.csproj
new file mode 100644
index 0000000..1f0d80c
--- /dev/null
+++ b/FatePaths/FatePaths.csproj
@@ -0,0 +1,24 @@
+
+
+
+ FatePaths
+ False
+ netcoreapp1.0
+
+
+ 12.0
+ True
+
+
+
+
+
+
+
+
+
+
+ ..\..\Questionable.Model.dll
+
+
+
\ No newline at end of file
diff --git a/FatePaths/Questionable.FatePaths.FateDefinitionSchema b/FatePaths/Questionable.FatePaths.FateDefinitionSchema
new file mode 100644
index 0000000..c8cef80
--- /dev/null
+++ b/FatePaths/Questionable.FatePaths.FateDefinitionSchema
@@ -0,0 +1,186 @@
+{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "$id": "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/FatePaths/fatedefinition-v1.json",
+ "title": "FATE Definition V1",
+ "description": "A FATE farming definition",
+ "type": "object",
+ "properties": {
+ "$schema": {
+ "type": "string",
+ "const": "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/FatePaths/fatedefinition-v1.json"
+ },
+ "Name": {
+ "description": "Display name of the FATE",
+ "type": "string"
+ },
+ "Description": {
+ "description": "Description of the FATE activity",
+ "type": "string"
+ },
+ "TerritoryId": {
+ "description": "Territory ID where the FATE takes place",
+ "type": "integer",
+ "minimum": 1
+ },
+ "Aetheryte": {
+ "description": "Nearest aetheryte for teleporting",
+ "$ref": "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-aetheryte.json"
+ },
+ "Position": {
+ "description": "Position to navigate to for the FATE",
+ "$ref": "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-vector3.json"
+ },
+ "Targets": {
+ "description": "List of FATE targets and actions to perform on them",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "DataId": {
+ "type": "integer",
+ "minimum": 1
+ },
+ "Action": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "DataId",
+ "Action"
+ ],
+ "additionalProperties": false
+ },
+ "minItems": 1
+ },
+ "RequiredQuestId": {
+ "description": "Quest ID that must be completed before this FATE can be farmed",
+ "type": "integer",
+ "minimum": 1
+ },
+ "RequiredStatusId": {
+ "description": "Status effect required to participate in the FATE",
+ "type": "string"
+ },
+ "TransformNpcDataId": {
+ "description": "NPC to interact with to obtain the required status",
+ "type": "integer",
+ "minimum": 1
+ },
+ "TransformNpcPosition": {
+ "description": "Position of the transform NPC",
+ "$ref": "https://github.com/WigglyMuffin/Questionable/raw/refs/heads/main/Questionable.Model/common-vector3.json"
+ },
+ "StopAction": {
+ "description": "Action to use when stopping FATE farming (e.g. to remove a transformation debuff). Only used if the player has RequiredStatusId.",
+ "type": "string"
+ },
+ "EventExpiry": {
+ "description": "If this is a seasonal/event FATE, the date and time (in UTC) when it is no longer available. Date-only values are treated as ending at daily reset (14:59:59 UTC).",
+ "format": "date-time",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "TransformDialogueChoices": {
+ "description": "Dialogue choices when interacting with the transform NPC",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "Type": {
+ "type": "string",
+ "enum": [
+ "YesNo",
+ "List"
+ ]
+ },
+ "ExcelSheet": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "Type"
+ ],
+ "allOf": [
+ {
+ "if": {
+ "properties": {
+ "Type": {
+ "const": "YesNo"
+ }
+ }
+ },
+ "then": {
+ "properties": {
+ "Prompt": {
+ "type": [
+ "string",
+ "integer"
+ ]
+ },
+ "PromptIsRegularExpression": {
+ "type": "boolean"
+ },
+ "Yes": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "required": [
+ "Prompt",
+ "Yes"
+ ]
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "Type": {
+ "const": "List"
+ }
+ }
+ },
+ "then": {
+ "properties": {
+ "Prompt": {
+ "type": [
+ "string",
+ "integer",
+ "null"
+ ]
+ },
+ "PromptIsRegularExpression": {
+ "type": "boolean"
+ },
+ "Answer": {
+ "type": [
+ "string",
+ "integer"
+ ]
+ },
+ "AnswerIsRegularExpression": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "Prompt",
+ "Answer"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "required": [
+ "$schema",
+ "Name",
+ "Description",
+ "TerritoryId",
+ "Aetheryte",
+ "Position",
+ "Targets"
+ ],
+ "additionalProperties": false
+}
diff --git a/FatePaths/Questionable.FatePaths/AssemblyFateDefinitionLoader.cs b/FatePaths/Questionable.FatePaths/AssemblyFateDefinitionLoader.cs
new file mode 100644
index 0000000..3e2bfcb
--- /dev/null
+++ b/FatePaths/Questionable.FatePaths/AssemblyFateDefinitionLoader.cs
@@ -0,0 +1,105 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Numerics;
+using System.Runtime.InteropServices;
+using Questionable.Model.Common;
+using Questionable.Model.Questing;
+
+namespace Questionable.FatePaths;
+
+public static class AssemblyFateDefinitionLoader
+{
+ private static Dictionary? _definitions;
+
+ public static Stream FateDefinitionSchema => typeof(AssemblyFateDefinitionLoader).Assembly.GetManifestResourceStream("Questionable.FatePaths.FateDefinitionSchema");
+
+ public static IReadOnlyDictionary GetDefinitions()
+ {
+ if (_definitions == null)
+ {
+ _definitions = new Dictionary();
+ LoadDefinitions();
+ }
+ return _definitions ?? throw new InvalidOperationException("fate definition data is not initialized");
+ }
+
+ private static void AddDefinition(ushort id, FateDefinition definition)
+ {
+ _definitions[id] = definition;
+ }
+
+ private static void LoadDefinitions()
+ {
+ LoadDefinition0();
+ }
+
+ private static void LoadDefinition0()
+ {
+ FateDefinition obj = new FateDefinition
+ {
+ Name = "Little Ladies' Day (2026)",
+ Description = "Cheer Rhythm FATE in Ul'dah - Steps of Nald",
+ TerritoryId = 130,
+ Aetheryte = EAetheryteLocation.Uldah,
+ Position = new Vector3(-38.322124f, 3.9999998f, -144.23155f)
+ };
+ int num = 4;
+ List list = new List(num);
+ CollectionsMarshal.SetCount(list, num);
+ Span span = CollectionsMarshal.AsSpan(list);
+ span[0] = new FateActionTarget
+ {
+ DataId = 18862u,
+ Action = EAction.CheerRhythmYellow
+ };
+ span[1] = new FateActionTarget
+ {
+ DataId = 18860u,
+ Action = EAction.CheerRhythmBlue
+ };
+ span[2] = new FateActionTarget
+ {
+ DataId = 18861u,
+ Action = EAction.CheerRhythmGreen
+ };
+ span[3] = new FateActionTarget
+ {
+ DataId = 18859u,
+ Action = EAction.CheerRhythmRed
+ };
+ obj.Targets = list;
+ obj.RequiredStatusId = EStatus.FaceInTheCrowd;
+ obj.TransformNpcDataId = 1055771u;
+ obj.TransformNpcPosition = new Vector3(-37.369385f, 5.0000005f, -130.14423f);
+ num = 3;
+ List list2 = new List(num);
+ CollectionsMarshal.SetCount(list2, num);
+ Span span2 = CollectionsMarshal.AsSpan(list2);
+ span2[0] = new DialogueChoice
+ {
+ Type = EDialogChoiceType.List,
+ ExcelSheet = "custom/009/FesPdy2026FateDisguise_00951",
+ Prompt = new ExcelRef("TEXT_FESPDY2026FATEDISGUISE_00951_Q1_000_000"),
+ Answer = new ExcelRef("TEXT_FESPDY2026FATEDISGUISE_00951_A1_000_001")
+ };
+ span2[1] = new DialogueChoice
+ {
+ Type = EDialogChoiceType.List,
+ ExcelSheet = "custom/009/FesPdy2026FateDisguise_00951",
+ Prompt = new ExcelRef("TEXT_FESPDY2026FATEDISGUISE_00951_Q2_000_000"),
+ Answer = new ExcelRef("TEXT_FESPDY2026FATEDISGUISE_00951_A2_100_004")
+ };
+ span2[2] = new DialogueChoice
+ {
+ Type = EDialogChoiceType.YesNo,
+ ExcelSheet = "custom/009/FesPdy2026FateDisguise_00951",
+ Prompt = new ExcelRef("TEXT_FESPDY2026FATEDISGUISE_00951_CONFIRM_100_004")
+ };
+ obj.TransformDialogueChoices = list2;
+ obj.RequiredQuestId = (ushort)5444;
+ obj.StopAction = EAction.CurtainCall;
+ obj.EventExpiry = new DateTime(2026, 3, 12, 14, 59, 0, DateTimeKind.Utc);
+ AddDefinition(1, obj);
+ }
+}
diff --git a/GatheringPaths/GatheringPaths.csproj b/GatheringPaths/GatheringPaths.csproj
index 8649f4c..0e020f6 100644
--- a/GatheringPaths/GatheringPaths.csproj
+++ b/GatheringPaths/GatheringPaths.csproj
@@ -3,7 +3,7 @@
GatheringPaths
False
- netcoreapp9.0
+ netcoreapp1.0
12.0
diff --git a/GatheringPaths/Questionable.GatheringPaths/AssemblyGatheringLocationLoader.cs b/GatheringPaths/Questionable.GatheringPaths/AssemblyGatheringLocationLoader.cs
index d420199..53d688c 100644
--- a/GatheringPaths/Questionable.GatheringPaths/AssemblyGatheringLocationLoader.cs
+++ b/GatheringPaths/Questionable.GatheringPaths/AssemblyGatheringLocationLoader.cs
@@ -53,16 +53,12 @@ public static class AssemblyGatheringLocationLoader
int num = 1;
List list = new List(num);
CollectionsMarshal.SetCount(list, num);
- Span span = CollectionsMarshal.AsSpan(list);
- int index = 0;
- span[index] = "liza";
+ CollectionsMarshal.AsSpan(list)[0] = "liza";
gatheringRoot.Author = list;
- index = 1;
- List list2 = new List(index);
- CollectionsMarshal.SetCount(list2, index);
- Span span2 = CollectionsMarshal.AsSpan(list2);
- num = 0;
- span2[num] = new QuestStep(EInteractionType.None, null, null, 154)
+ num = 1;
+ List list2 = new List(num);
+ CollectionsMarshal.SetCount(list2, num);
+ CollectionsMarshal.AsSpan(list2)[0] = new QuestStep(EInteractionType.None, null, null, 154)
{
AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat,
SkipConditions = new SkipConditions
@@ -77,16 +73,13 @@ public static class AssemblyGatheringLocationLoader
num = 4;
List list3 = new List(num);
CollectionsMarshal.SetCount(list3, num);
- Span span3 = CollectionsMarshal.AsSpan(list3);
- index = 0;
- ref GatheringNodeGroup reference = ref span3[index];
+ Span span = CollectionsMarshal.AsSpan(list3);
+ ref GatheringNodeGroup reference = ref span[0];
GatheringNodeGroup gatheringNodeGroup = new GatheringNodeGroup();
int num2 = 1;
List list4 = new List(num2);
CollectionsMarshal.SetCount(list4, num2);
- Span span4 = CollectionsMarshal.AsSpan(list4);
- int index2 = 0;
- ref GatheringNode reference2 = ref span4[index2];
+ ref GatheringNode reference2 = ref CollectionsMarshal.AsSpan(list4)[0];
GatheringNode obj = new GatheringNode
{
DataId = 30016u
@@ -94,23 +87,20 @@ public static class AssemblyGatheringLocationLoader
int num3 = 3;
List list5 = new List(num3);
CollectionsMarshal.SetCount(list5, num3);
- Span span5 = CollectionsMarshal.AsSpan(list5);
- int num4 = 0;
- span5[num4] = new GatheringLocation
+ Span span2 = CollectionsMarshal.AsSpan(list5);
+ span2[0] = new GatheringLocation
{
Position = new Vector3(395.0683f, -4.213107f, 235.0844f),
MinimumAngle = -200,
MaximumAngle = 15
};
- num4++;
- span5[num4] = new GatheringLocation
+ span2[1] = new GatheringLocation
{
Position = new Vector3(404.3488f, -2.116929f, 216.968f),
MinimumAngle = -125,
MaximumAngle = 10
};
- num4++;
- span5[num4] = new GatheringLocation
+ span2[2] = new GatheringLocation
{
Position = new Vector3(388.5088f, -1.260179f, 222.3745f),
MinimumAngle = -145,
@@ -120,39 +110,33 @@ public static class AssemblyGatheringLocationLoader
reference2 = obj;
gatheringNodeGroup.Nodes = list4;
reference = gatheringNodeGroup;
- index++;
- ref GatheringNodeGroup reference3 = ref span3[index];
+ ref GatheringNodeGroup reference3 = ref span[1];
GatheringNodeGroup gatheringNodeGroup2 = new GatheringNodeGroup();
- index2 = 1;
- List list6 = new List(index2);
- CollectionsMarshal.SetCount(list6, index2);
- span4 = CollectionsMarshal.AsSpan(list6);
- num2 = 0;
- ref GatheringNode reference4 = ref span4[num2];
+ num2 = 1;
+ List list6 = new List(num2);
+ CollectionsMarshal.SetCount(list6, num2);
+ ref GatheringNode reference4 = ref CollectionsMarshal.AsSpan(list6)[0];
GatheringNode obj2 = new GatheringNode
{
DataId = 30018u
};
- num4 = 3;
- List list7 = new List(num4);
- CollectionsMarshal.SetCount(list7, num4);
- span5 = CollectionsMarshal.AsSpan(list7);
- num3 = 0;
- span5[num3] = new GatheringLocation
+ num3 = 3;
+ List list7 = new List(num3);
+ CollectionsMarshal.SetCount(list7, num3);
+ Span span3 = CollectionsMarshal.AsSpan(list7);
+ span3[0] = new GatheringLocation
{
Position = new Vector3(361.0402f, -6.135924f, 266.7503f),
MinimumAngle = -155,
MaximumAngle = 10
};
- num3++;
- span5[num3] = new GatheringLocation
+ span3[1] = new GatheringLocation
{
Position = new Vector3(368.0511f, -6.085522f, 262.3561f),
MinimumAngle = -135,
MaximumAngle = 10
};
- num3++;
- span5[num3] = new GatheringLocation
+ span3[2] = new GatheringLocation
{
Position = new Vector3(352.1197f, -2.546567f, 262.7847f),
MinimumAngle = 250,
@@ -162,15 +146,12 @@ public static class AssemblyGatheringLocationLoader
reference4 = obj2;
gatheringNodeGroup2.Nodes = list6;
reference3 = gatheringNodeGroup2;
- index++;
- ref GatheringNodeGroup reference5 = ref span3[index];
+ ref GatheringNodeGroup reference5 = ref span[2];
GatheringNodeGroup gatheringNodeGroup3 = new GatheringNodeGroup();
num2 = 1;
List list8 = new List(num2);
CollectionsMarshal.SetCount(list8, num2);
- span4 = CollectionsMarshal.AsSpan(list8);
- index2 = 0;
- ref GatheringNode reference6 = ref span4[index2];
+ ref GatheringNode reference6 = ref CollectionsMarshal.AsSpan(list8)[0];
GatheringNode obj3 = new GatheringNode
{
DataId = 30081u
@@ -178,23 +159,20 @@ public static class AssemblyGatheringLocationLoader
num3 = 3;
List list9 = new List(num3);
CollectionsMarshal.SetCount(list9, num3);
- span5 = CollectionsMarshal.AsSpan(list9);
- num4 = 0;
- span5[num4] = new GatheringLocation
+ Span span4 = CollectionsMarshal.AsSpan(list9);
+ span4[0] = new GatheringLocation
{
Position = new Vector3(404.6927f, -3.737513f, 283.6237f),
MinimumAngle = 55,
MaximumAngle = 255
};
- num4++;
- span5[num4] = new GatheringLocation
+ span4[1] = new GatheringLocation
{
Position = new Vector3(406.1155f, -4.338434f, 271.2292f),
MinimumAngle = 0,
MaximumAngle = 190
};
- num4++;
- span5[num4] = new GatheringLocation
+ span4[2] = new GatheringLocation
{
Position = new Vector3(394.464f, -3.775356f, 286.3456f),
MinimumAngle = 105,
@@ -204,39 +182,33 @@ public static class AssemblyGatheringLocationLoader
reference6 = obj3;
gatheringNodeGroup3.Nodes = list8;
reference5 = gatheringNodeGroup3;
- index++;
- ref GatheringNodeGroup reference7 = ref span3[index];
+ ref GatheringNodeGroup reference7 = ref span[3];
GatheringNodeGroup gatheringNodeGroup4 = new GatheringNodeGroup();
- index2 = 1;
- List list10 = new List(index2);
- CollectionsMarshal.SetCount(list10, index2);
- span4 = CollectionsMarshal.AsSpan(list10);
- num2 = 0;
- ref GatheringNode reference8 = ref span4[num2];
+ num2 = 1;
+ List list10 = new List(num2);
+ CollectionsMarshal.SetCount(list10, num2);
+ ref GatheringNode reference8 = ref CollectionsMarshal.AsSpan(list10)[0];
GatheringNode obj4 = new GatheringNode
{
DataId = 30017u
};
- num4 = 3;
- List list11 = new List(num4);
- CollectionsMarshal.SetCount(list11, num4);
- span5 = CollectionsMarshal.AsSpan(list11);
- num3 = 0;
- span5[num3] = new GatheringLocation
+ num3 = 3;
+ List list11 = new List(num3);
+ CollectionsMarshal.SetCount(list11, num3);
+ Span span5 = CollectionsMarshal.AsSpan(list11);
+ span5[0] = new GatheringLocation
{
Position = new Vector3(443.0036f, -1.818904f, 251.6805f),
MinimumAngle = 0,
MaximumAngle = 145
};
- num3++;
- span5[num3] = new GatheringLocation
+ span5[1] = new GatheringLocation
{
Position = new Vector3(459.7153f, -1.026285f, 263.6502f),
MinimumAngle = 50,
MaximumAngle = 235
};
- num3++;
- span5[num3] = new GatheringLocation
+ span5[2] = new GatheringLocation
{
Position = new Vector3(468.4217f, -1.290563f, 262.4874f),
MinimumAngle = 15,
@@ -249,19 +221,15 @@ public static class AssemblyGatheringLocationLoader
gatheringRoot.Groups = list3;
AddLocation(12, gatheringRoot);
GatheringRoot gatheringRoot2 = new GatheringRoot();
- index = 1;
- List list12 = new List(index);
- CollectionsMarshal.SetCount(list12, index);
- span = CollectionsMarshal.AsSpan(list12);
- num = 0;
- span[num] = "liza";
+ num = 1;
+ List list12 = new List(num);
+ CollectionsMarshal.SetCount(list12, num);
+ CollectionsMarshal.AsSpan(list12)[0] = "liza";
gatheringRoot2.Author = list12;
num = 1;
List list13 = new List(num);
CollectionsMarshal.SetCount(list13, num);
- span2 = CollectionsMarshal.AsSpan(list13);
- index = 0;
- span2[index] = new QuestStep(EInteractionType.None, null, null, 154)
+ CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.None, null, null, 154)
{
AetheryteShortcut = EAetheryteLocation.NorthShroudFallgourdFloat,
SkipConditions = new SkipConditions
@@ -273,19 +241,16 @@ public static class AssemblyGatheringLocationLoader
}
};
gatheringRoot2.Steps = list13;
- index = 4;
- List list14 = new List(index);
- CollectionsMarshal.SetCount(list14, index);
- span3 = CollectionsMarshal.AsSpan(list14);
- num = 0;
- ref GatheringNodeGroup reference9 = ref span3[num];
+ num = 4;
+ List list14 = new List(num);
+ CollectionsMarshal.SetCount(list14, num);
+ Span span6 = CollectionsMarshal.AsSpan(list14);
+ ref GatheringNodeGroup reference9 = ref span6[0];
GatheringNodeGroup gatheringNodeGroup5 = new GatheringNodeGroup();
num2 = 1;
List list15 = new List(num2);
CollectionsMarshal.SetCount(list15, num2);
- span4 = CollectionsMarshal.AsSpan(list15);
- index2 = 0;
- ref GatheringNode reference10 = ref span4[index2];
+ ref GatheringNode reference10 = ref CollectionsMarshal.AsSpan(list15)[0];
GatheringNode obj5 = new GatheringNode
{
DataId = 30020u
@@ -293,23 +258,20 @@ public static class AssemblyGatheringLocationLoader
num3 = 3;
List list16 = new List(num3);
CollectionsMarshal.SetCount(list16, num3);
- span5 = CollectionsMarshal.AsSpan(list16);
- num4 = 0;
- span5[num4] = new GatheringLocation
+ Span span7 = CollectionsMarshal.AsSpan(list16);
+ span7[0] = new GatheringLocation
{
Position = new Vector3(279.9662f, -9.225774f, 318.6275f),
MinimumAngle = 50,
MaximumAngle = 240
};
- num4++;
- span5[num4] = new GatheringLocation
+ span7[1] = new GatheringLocation
{
Position = new Vector3(295.7656f, -8.987611f, 311.5129f),
MinimumAngle = 0,
MaximumAngle = 190
};
- num4++;
- span5[num4] = new GatheringLocation
+ span7[2] = new GatheringLocation
{
Position = new Vector3(283.9807f, -11.68445f, 310.4038f),
MinimumAngle = 0,
@@ -319,39 +281,33 @@ public static class AssemblyGatheringLocationLoader
reference10 = obj5;
gatheringNodeGroup5.Nodes = list15;
reference9 = gatheringNodeGroup5;
- num++;
- ref GatheringNodeGroup reference11 = ref span3[num];
+ ref GatheringNodeGroup reference11 = ref span6[1];
GatheringNodeGroup gatheringNodeGroup6 = new GatheringNodeGroup();
- index2 = 1;
- List list17 = new List(index2);
- CollectionsMarshal.SetCount(list17, index2);
- span4 = CollectionsMarshal.AsSpan(list17);
- num2 = 0;
- ref GatheringNode reference12 = ref span4[num2];
+ num2 = 1;
+ List list17 = new List(num2);
+ CollectionsMarshal.SetCount(list17, num2);
+ ref GatheringNode reference12 = ref CollectionsMarshal.AsSpan(list17)[0];
GatheringNode obj6 = new GatheringNode
{
DataId = 30019u
};
- num4 = 3;
- List list18 = new List(num4);
- CollectionsMarshal.SetCount(list18, num4);
- span5 = CollectionsMarshal.AsSpan(list18);
- num3 = 0;
- span5[num3] = new GatheringLocation
+ num3 = 3;
+ List list18 = new List(num3);
+ CollectionsMarshal.SetCount(list18, num3);
+ Span span8 = CollectionsMarshal.AsSpan(list18);
+ span8[0] = new GatheringLocation
{
Position = new Vector3(238.5998f, -22.81126f, 254.0548f),
MinimumAngle = -85,
MaximumAngle = 55
};
- num3++;
- span5[num3] = new GatheringLocation
+ span8[1] = new GatheringLocation
{
Position = new Vector3(234.2172f, -22.83841f, 265.2955f),
MinimumAngle = -160,
MaximumAngle = 0
};
- num3++;
- span5[num3] = new GatheringLocation
+ span8[2] = new GatheringLocation
{
Position = new Vector3(257.4443f, -20.59358f, 246.4006f),
MinimumAngle = -115,
@@ -361,15 +317,12 @@ public static class AssemblyGatheringLocationLoader
reference12 = obj6;
gatheringNodeGroup6.Nodes = list17;
reference11 = gatheringNodeGroup6;
- num++;
- ref GatheringNodeGroup reference13 = ref span3[num];
+ ref GatheringNodeGroup reference13 = ref span6[2];
GatheringNodeGroup gatheringNodeGroup7 = new GatheringNodeGroup();
num2 = 1;
List list19 = new List(num2);
CollectionsMarshal.SetCount(list19, num2);
- span4 = CollectionsMarshal.AsSpan(list19);
- index2 = 0;
- ref GatheringNode reference14 = ref span4[index2];
+ ref GatheringNode reference14 = ref CollectionsMarshal.AsSpan(list19)[0];
GatheringNode obj7 = new GatheringNode
{
DataId = 30082u
@@ -377,23 +330,20 @@ public static class AssemblyGatheringLocationLoader
num3 = 3;
List list20 = new List(num3);
CollectionsMarshal.SetCount(list20, num3);
- span5 = CollectionsMarshal.AsSpan(list20);
- num4 = 0;
- span5[num4] = new GatheringLocation
+ Span span9 = CollectionsMarshal.AsSpan(list20);
+ span9[0] = new GatheringLocation
{
Position = new Vector3(221.3946f, -27.69197f, 317.5874f),
MinimumAngle = 0,
MaximumAngle = 125
};
- num4++;
- span5[num4] = new GatheringLocation
+ span9[1] = new GatheringLocation
{
Position = new Vector3(209.7868f, -29.03308f, 317.4061f),
MinimumAngle = 130,
MaximumAngle = 295
};
- num4++;
- span5[num4] = new GatheringLocation
+ span9[2] = new GatheringLocation
{
Position = new Vector3(216.8077f, -28.68546f, 320.5408f),
MinimumAngle = 45,
@@ -403,32 +353,27 @@ public static class AssemblyGatheringLocationLoader
reference14 = obj7;
gatheringNodeGroup7.Nodes = list19;
reference13 = gatheringNodeGroup7;
- num++;
- ref GatheringNodeGroup reference15 = ref span3[num];
+ ref GatheringNodeGroup reference15 = ref span6[3];
GatheringNodeGroup gatheringNodeGroup8 = new GatheringNodeGroup();
- index2 = 1;
- List list21 = new List(index2);
- CollectionsMarshal.SetCount(list21, index2);
- span4 = CollectionsMarshal.AsSpan(list21);
- num2 = 0;
- ref GatheringNode reference16 = ref span4[num2];
+ num2 = 1;
+ List list21 = new List(num2);
+ CollectionsMarshal.SetCount(list21, num2);
+ ref GatheringNode reference16 = ref CollectionsMarshal.AsSpan(list21)[0];
GatheringNode obj8 = new GatheringNode
{
DataId = 30021u
};
- num4 = 3;
- List list22 = new List(num4);
- CollectionsMarshal.SetCount(list22, num4);
- span5 = CollectionsMarshal.AsSpan(list22);
- num3 = 0;
- span5[num3] = new GatheringLocation
+ num3 = 3;
+ List list22 = new List(num3);
+ CollectionsMarshal.SetCount(list22, num3);
+ Span span10 = CollectionsMarshal.AsSpan(list22);
+ span10[0] = new GatheringLocation
{
Position = new Vector3(250.3709f, -20.9966f, 296.2364f),
MinimumAngle = 105,
MaximumAngle = 265
};
- num3++;
- span5[num3] = new GatheringLocation
+ span10[1] = new GatheringLocation
{
Position = new Vector3(247.4017f, -21.53168f, 284.9166f),
MinimumAngle = -40,
@@ -436,8 +381,7 @@ public static class AssemblyGatheringLocationLoader
MinimumDistance = 1.3f,
MaximumDistance = 3f
};
- num3++;
- span5[num3] = new GatheringLocation
+ span10[2] = new GatheringLocation
{
Position = new Vector3(255.3057f, -17.90455f, 302.6251f),
MinimumAngle = 145,
@@ -453,16 +397,12 @@ public static class AssemblyGatheringLocationLoader
num = 1;
List list23 = new List(num);
CollectionsMarshal.SetCount(list23, num);
- span = CollectionsMarshal.AsSpan(list23);
- index = 0;
- span[index] = "liza";
+ CollectionsMarshal.AsSpan(list23)[0] = "liza";
gatheringRoot3.Author = list23;
- index = 1;
- List list24 = new List(index);
- CollectionsMarshal.SetCount(list24, index);
- span2 = CollectionsMarshal.AsSpan(list24);
- num = 0;
- span2[num] = new QuestStep(EInteractionType.None, null, null, 148)
+ num = 1;
+ List list24 = new List(num);
+ CollectionsMarshal.SetCount(list24, num);
+ CollectionsMarshal.AsSpan(list24)[0] = new QuestStep(EInteractionType.None, null, null, 148)
{
AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows,
SkipConditions = new SkipConditions
@@ -477,16 +417,13 @@ public static class AssemblyGatheringLocationLoader
num = 4;
List list25 = new List(num);
CollectionsMarshal.SetCount(list25, num);
- span3 = CollectionsMarshal.AsSpan(list25);
- index = 0;
- ref GatheringNodeGroup reference17 = ref span3[index];
+ Span span11 = CollectionsMarshal.AsSpan(list25);
+ ref GatheringNodeGroup reference17 = ref span11[0];
GatheringNodeGroup gatheringNodeGroup9 = new GatheringNodeGroup();
num2 = 1;
List list26 = new List(num2);
CollectionsMarshal.SetCount(list26, num2);
- span4 = CollectionsMarshal.AsSpan(list26);
- index2 = 0;
- ref GatheringNode reference18 = ref span4[index2];
+ ref GatheringNode reference18 = ref CollectionsMarshal.AsSpan(list26)[0];
GatheringNode obj9 = new GatheringNode
{
DataId = 30028u
@@ -494,23 +431,20 @@ public static class AssemblyGatheringLocationLoader
num3 = 3;
List list27 = new List(num3);
CollectionsMarshal.SetCount(list27, num3);
- span5 = CollectionsMarshal.AsSpan(list27);
- num4 = 0;
- span5[num4] = new GatheringLocation
+ Span span12 = CollectionsMarshal.AsSpan(list27);
+ span12[0] = new GatheringLocation
{
Position = new Vector3(225.8048f, -5.26357f, -71.51706f),
MinimumAngle = -60,
MaximumAngle = 105
};
- num4++;
- span5[num4] = new GatheringLocation
+ span12[1] = new GatheringLocation
{
Position = new Vector3(229.0866f, -7.037199f, -62.40871f),
MinimumAngle = 0,
MaximumAngle = 175
};
- num4++;
- span5[num4] = new GatheringLocation
+ span12[2] = new GatheringLocation
{
Position = new Vector3(210.4522f, -5.798344f, -69.99769f),
MinimumAngle = 180,
@@ -520,39 +454,33 @@ public static class AssemblyGatheringLocationLoader
reference18 = obj9;
gatheringNodeGroup9.Nodes = list26;
reference17 = gatheringNodeGroup9;
- index++;
- ref GatheringNodeGroup reference19 = ref span3[index];
+ ref GatheringNodeGroup reference19 = ref span11[1];
GatheringNodeGroup gatheringNodeGroup10 = new GatheringNodeGroup();
- index2 = 1;
- List list28 = new List(index2);
- CollectionsMarshal.SetCount(list28, index2);
- span4 = CollectionsMarshal.AsSpan(list28);
- num2 = 0;
- ref GatheringNode reference20 = ref span4[num2];
+ num2 = 1;
+ List list28 = new List(num2);
+ CollectionsMarshal.SetCount(list28, num2);
+ ref GatheringNode reference20 = ref CollectionsMarshal.AsSpan(list28)[0];
GatheringNode obj10 = new GatheringNode
{
DataId = 30030u
};
- num4 = 3;
- List list29 = new List(num4);
- CollectionsMarshal.SetCount(list29, num4);
- span5 = CollectionsMarshal.AsSpan(list29);
- num3 = 0;
- span5[num3] = new GatheringLocation
+ num3 = 3;
+ List list29 = new List(num3);
+ CollectionsMarshal.SetCount(list29, num3);
+ Span span13 = CollectionsMarshal.AsSpan(list29);
+ span13[0] = new GatheringLocation
{
Position = new Vector3(205.3417f, -7.402449f, -46.44062f),
MinimumAngle = 70,
MaximumAngle = 320
};
- num3++;
- span5[num3] = new GatheringLocation
+ span13[1] = new GatheringLocation
{
Position = new Vector3(204.9178f, -8.416177f, -24.97287f),
MinimumAngle = 50,
MaximumAngle = 260
};
- num3++;
- span5[num3] = new GatheringLocation
+ span13[2] = new GatheringLocation
{
Position = new Vector3(196.8121f, -7.515049f, -31.74415f),
MinimumAngle = 115,
@@ -562,15 +490,12 @@ public static class AssemblyGatheringLocationLoader
reference20 = obj10;
gatheringNodeGroup10.Nodes = list28;
reference19 = gatheringNodeGroup10;
- index++;
- ref GatheringNodeGroup reference21 = ref span3[index];
+ ref GatheringNodeGroup reference21 = ref span11[2];
GatheringNodeGroup gatheringNodeGroup11 = new GatheringNodeGroup();
num2 = 1;
List list30 = new List(num2);
CollectionsMarshal.SetCount(list30, num2);
- span4 = CollectionsMarshal.AsSpan(list30);
- index2 = 0;
- ref GatheringNode reference22 = ref span4[index2];
+ ref GatheringNode reference22 = ref CollectionsMarshal.AsSpan(list30)[0];
GatheringNode obj11 = new GatheringNode
{
DataId = 30027u
@@ -578,16 +503,14 @@ public static class AssemblyGatheringLocationLoader
num3 = 3;
List list31 = new List(num3);
CollectionsMarshal.SetCount(list31, num3);
- span5 = CollectionsMarshal.AsSpan(list31);
- num4 = 0;
- span5[num4] = new GatheringLocation
+ Span span14 = CollectionsMarshal.AsSpan(list31);
+ span14[0] = new GatheringLocation
{
Position = new Vector3(263.5084f, -7.83625f, -28.76189f),
MinimumAngle = 220,
MaximumAngle = 360
};
- num4++;
- span5[num4] = new GatheringLocation
+ span14[1] = new GatheringLocation
{
Position = new Vector3(275.0262f, -6.339698f, -42.46669f),
MinimumAngle = 30,
@@ -595,8 +518,7 @@ public static class AssemblyGatheringLocationLoader
MinimumDistance = 1.9f,
MaximumDistance = 3f
};
- num4++;
- span5[num4] = new GatheringLocation
+ span14[2] = new GatheringLocation
{
Position = new Vector3(248.5661f, -8.912354f, -5.168106f),
MinimumAngle = 0,
@@ -606,25 +528,21 @@ public static class AssemblyGatheringLocationLoader
reference22 = obj11;
gatheringNodeGroup11.Nodes = list30;
reference21 = gatheringNodeGroup11;
- index++;
- ref GatheringNodeGroup reference23 = ref span3[index];
+ ref GatheringNodeGroup reference23 = ref span11[3];
GatheringNodeGroup gatheringNodeGroup12 = new GatheringNodeGroup();
- index2 = 1;
- List list32 = new List(index2);
- CollectionsMarshal.SetCount(list32, index2);
- span4 = CollectionsMarshal.AsSpan(list32);
- num2 = 0;
- ref GatheringNode reference24 = ref span4[num2];
+ num2 = 1;
+ List list32 = new List(num2);
+ CollectionsMarshal.SetCount(list32, num2);
+ ref GatheringNode reference24 = ref CollectionsMarshal.AsSpan(list32)[0];
GatheringNode obj12 = new GatheringNode
{
DataId = 30029u
};
- num4 = 3;
- List list33 = new List(num4);
- CollectionsMarshal.SetCount(list33, num4);
- span5 = CollectionsMarshal.AsSpan(list33);
- num3 = 0;
- span5[num3] = new GatheringLocation
+ num3 = 3;
+ List list33 = new List(num3);
+ CollectionsMarshal.SetCount(list33, num3);
+ Span span15 = CollectionsMarshal.AsSpan(list33);
+ span15[0] = new GatheringLocation
{
Position = new Vector3(278.9887f, -6.181031f, -100.3401f),
MinimumAngle = 0,
@@ -632,15 +550,13 @@ public static class AssemblyGatheringLocationLoader
MinimumDistance = 1.8f,
MaximumDistance = 3f
};
- num3++;
- span5[num3] = new GatheringLocation
+ span15[1] = new GatheringLocation
{
Position = new Vector3(281.2963f, -6.572734f, -72.80408f),
MinimumAngle = -5,
MaximumAngle = 165
};
- num3++;
- span5[num3] = new GatheringLocation
+ span15[2] = new GatheringLocation
{
Position = new Vector3(282.8807f, -5.350755f, -91.96065f),
MinimumAngle = -30,
@@ -655,19 +571,15 @@ public static class AssemblyGatheringLocationLoader
gatheringRoot3.Groups = list25;
AddLocation(16, gatheringRoot3);
GatheringRoot gatheringRoot4 = new GatheringRoot();
- index = 1;
- List list34 = new List(index);
- CollectionsMarshal.SetCount(list34, index);
- span = CollectionsMarshal.AsSpan(list34);
- num = 0;
- span[num] = "liza";
+ num = 1;
+ List list34 = new List(num);
+ CollectionsMarshal.SetCount(list34, num);
+ CollectionsMarshal.AsSpan(list34)[0] = "liza";
gatheringRoot4.Author = list34;
num = 1;
List list35 = new List(num);
CollectionsMarshal.SetCount(list35, num);
- span2 = CollectionsMarshal.AsSpan(list35);
- index = 0;
- span2[index] = new QuestStep(EInteractionType.None, null, null, 148)
+ CollectionsMarshal.AsSpan(list35)[0] = new QuestStep(EInteractionType.None, null, null, 148)
{
AetheryteShortcut = EAetheryteLocation.CentralShroudBentbranchMeadows,
SkipConditions = new SkipConditions
@@ -679,19 +591,16 @@ public static class AssemblyGatheringLocationLoader
}
};
gatheringRoot4.Steps = list35;
- index = 4;
- List list36 = new List(index);
- CollectionsMarshal.SetCount(list36, index);
- span3 = CollectionsMarshal.AsSpan(list36);
- num = 0;
- ref GatheringNodeGroup reference25 = ref span3[num];
+ num = 4;
+ List list36 = new List(num);
+ CollectionsMarshal.SetCount(list36, num);
+ Span span16 = CollectionsMarshal.AsSpan(list36);
+ ref GatheringNodeGroup reference25 = ref span16[0];
GatheringNodeGroup gatheringNodeGroup13 = new GatheringNodeGroup();
num2 = 1;
List list37 = new List(num2);
CollectionsMarshal.SetCount(list37, num2);
- span4 = CollectionsMarshal.AsSpan(list37);
- index2 = 0;
- ref GatheringNode reference26 = ref span4[index2];
+ ref GatheringNode reference26 = ref CollectionsMarshal.AsSpan(list37)[0];
GatheringNode obj13 = new GatheringNode
{
DataId = 30034u
@@ -699,23 +608,20 @@ public static class AssemblyGatheringLocationLoader
num3 = 3;
List list38 = new List(num3);
CollectionsMarshal.SetCount(list38, num3);
- span5 = CollectionsMarshal.AsSpan(list38);
- num4 = 0;
- span5[num4] = new GatheringLocation
+ Span span17 = CollectionsMarshal.AsSpan(list38);
+ span17[0] = new GatheringLocation
{
Position = new Vector3(-105.3941f, 2.85339f, -121.8738f),
MinimumAngle = -20,
MaximumAngle = 165
};
- num4++;
- span5[num4] = new GatheringLocation
+ span17[1] = new GatheringLocation
{
Position = new Vector3(-97.9409f, 3.064394f, -126.5676f),
MinimumAngle = 115,
MaximumAngle = 340
};
- num4++;
- span5[num4] = new GatheringLocation
+ span17[2] = new GatheringLocation
{
Position = new Vector3(-125.5794f, 5.63143f, -133.3981f)
};
@@ -723,37 +629,31 @@ public static class AssemblyGatheringLocationLoader
reference26 = obj13;
gatheringNodeGroup13.Nodes = list37;
reference25 = gatheringNodeGroup13;
- num++;
- ref GatheringNodeGroup reference27 = ref span3[num];
+ ref GatheringNodeGroup reference27 = ref span16[1];
GatheringNodeGroup gatheringNodeGroup14 = new GatheringNodeGroup();
- index2 = 1;
- List list39 = new List(index2);
- CollectionsMarshal.SetCount(list39, index2);
- span4 = CollectionsMarshal.AsSpan(list39);
- num2 = 0;
- ref GatheringNode reference28 = ref span4[num2];
+ num2 = 1;
+ List list39 = new List(num2);
+ CollectionsMarshal.SetCount(list39, num2);
+ ref GatheringNode reference28 = ref CollectionsMarshal.AsSpan(list39)[0];
GatheringNode obj14 = new GatheringNode
{
DataId = 30035u
};
- num4 = 3;
- List list40 = new List(num4);
- CollectionsMarshal.SetCount(list40, num4);
- span5 = CollectionsMarshal.AsSpan(list40);
- num3 = 0;
- span5[num3] = new GatheringLocation
+ num3 = 3;
+ List list40 = new List(num3);
+ CollectionsMarshal.SetCount(list40, num3);
+ Span span18 = CollectionsMarshal.AsSpan(list40);
+ span18[0] = new GatheringLocation
{
Position = new Vector3(-154.1009f, 4.5624f, -131.7312f),
MinimumAngle = -270,
MaximumAngle = 40
};
- num3++;
- span5[num3] = new GatheringLocation
+ span18[1] = new GatheringLocation
{
Position = new Vector3(-128.832f, 9.71995f, -145.739f)
};
- num3++;
- span5[num3] = new GatheringLocation
+ span18[2] = new GatheringLocation
{
Position = new Vector3(-117.9702f, 9.59642f, -173.7937f),
MinimumAngle = -155,
@@ -763,15 +663,12 @@ public static class AssemblyGatheringLocationLoader
reference28 = obj14;
gatheringNodeGroup14.Nodes = list39;
reference27 = gatheringNodeGroup14;
- num++;
- ref GatheringNodeGroup reference29 = ref span3[num];
+ ref GatheringNodeGroup reference29 = ref span16[2];
GatheringNodeGroup gatheringNodeGroup15 = new GatheringNodeGroup();
num2 = 1;
List list41 = new List(num2);
CollectionsMarshal.SetCount(list41, num2);
- span4 = CollectionsMarshal.AsSpan(list41);
- index2 = 0;
- ref GatheringNode reference30 = ref span4[index2];
+ ref GatheringNode reference30 = ref CollectionsMarshal.AsSpan(list41)[0];
GatheringNode obj15 = new GatheringNode
{
DataId = 30036u
@@ -779,23 +676,20 @@ public static class AssemblyGatheringLocationLoader
num3 = 3;
List list42 = new List(num3);
CollectionsMarshal.SetCount(list42, num3);
- span5 = CollectionsMarshal.AsSpan(list42);
- num4 = 0;
- span5[num4] = new GatheringLocation
+ Span span19 = CollectionsMarshal.AsSpan(list42);
+ span19[0] = new GatheringLocation
{
Position = new Vector3(-182.3201f, 3.129771f, -91.56992f),
MinimumAngle = -190,
MaximumAngle = 65
};
- num4++;
- span5[num4] = new GatheringLocation
+ span19[1] = new GatheringLocation
{
Position = new Vector3(-177.8435f, 2.23569f, -67.93159f),
MinimumAngle = -160,
MaximumAngle = 30
};
- num4++;
- span5[num4] = new GatheringLocation
+ span19[2] = new GatheringLocation
{
Position = new Vector3(-163.9663f, 1.91069f, -52.19678f),
MinimumAngle = 135,
@@ -805,37 +699,31 @@ public static class AssemblyGatheringLocationLoader
reference30 = obj15;
gatheringNodeGroup15.Nodes = list41;
reference29 = gatheringNodeGroup15;
- num++;
- ref GatheringNodeGroup reference31 = ref span3[num];
+ ref GatheringNodeGroup reference31 = ref span16[3];
GatheringNodeGroup gatheringNodeGroup16 = new GatheringNodeGroup();
- index2 = 1;
- List list43 = new List(index2);
- CollectionsMarshal.SetCount(list43, index2);
- span4 = CollectionsMarshal.AsSpan(list43);
- num2 = 0;
- ref GatheringNode reference32 = ref span4[num2];
+ num2 = 1;
+ List list43 = new List(num2);
+ CollectionsMarshal.SetCount(list43, num2);
+ ref GatheringNode reference32 = ref CollectionsMarshal.AsSpan(list43)[0];
GatheringNode obj16 = new GatheringNode
{
DataId = 30320u
};
- num4 = 3;
- List list44 = new List(num4);
- CollectionsMarshal.SetCount(list44, num4);
- span5 = CollectionsMarshal.AsSpan(list44);
- num3 = 0;
- span5[num3] = new GatheringLocation
+ num3 = 3;
+ List list44 = new List(num3);
+ CollectionsMarshal.SetCount(list44, num3);
+ Span span20 = CollectionsMarshal.AsSpan(list44);
+ span20[0] = new GatheringLocation
{
Position = new Vector3(-131.0494f, 0.2034574f, -82.93172f),
MinimumAngle = -155,
MaximumAngle = 45
};
- num3++;
- span5[num3] = new GatheringLocation
+ span20[1] = new GatheringLocation
{
Position = new Vector3(-121.5437f, -1.821766f, -74.98891f)
};
- num3++;
- span5[num3] = new GatheringLocation
+ span20[2] = new GatheringLocation
{
Position = new Vector3(-114.8504f, -1.186134f, -88.04849f),
MinimumAngle = -210,
@@ -851,16 +739,12 @@ public static class AssemblyGatheringLocationLoader
num = 1;
List list45 = new List(num);
CollectionsMarshal.SetCount(list45, num);
- span = CollectionsMarshal.AsSpan(list45);
- index = 0;
- span[index] = "liza";
+ CollectionsMarshal.AsSpan(list45)[0] = "liza";
gatheringRoot5.Author = list45;
- index = 1;
- List list46 = new List(index);
- CollectionsMarshal.SetCount(list46, index);
- span2 = CollectionsMarshal.AsSpan(list46);
- num = 0;
- span2[num] = new QuestStep(EInteractionType.None, null, null, 138)
+ num = 1;
+ List list46 = new List(num);
+ CollectionsMarshal.SetCount(list46, num);
+ CollectionsMarshal.AsSpan(list46)[0] = new QuestStep(EInteractionType.None, null, null, 138)
{
AetheryteShortcut = EAetheryteLocation.WesternLaNosceaAleport,
SkipConditions = new SkipConditions
@@ -875,16 +759,13 @@ public static class AssemblyGatheringLocationLoader
num = 4;
List list47 = new List(num);
CollectionsMarshal.SetCount(list47, num);
- span3 = CollectionsMarshal.AsSpan(list47);
- index = 0;
- ref GatheringNodeGroup reference33 = ref span3[index];
+ Span span21 = CollectionsMarshal.AsSpan(list47);
+ ref GatheringNodeGroup reference33 = ref span21[0];
GatheringNodeGroup gatheringNodeGroup17 = new GatheringNodeGroup();
num2 = 1;
List list48 = new List(num2);
CollectionsMarshal.SetCount(list48, num2);
- span4 = CollectionsMarshal.AsSpan(list48);
- index2 = 0;
- ref GatheringNode reference34 = ref span4[index2];
+ ref GatheringNode reference34 = ref CollectionsMarshal.AsSpan(list48)[0];
GatheringNode obj17 = new GatheringNode
{
DataId = 30098u
@@ -892,23 +773,20 @@ public static class AssemblyGatheringLocationLoader
num3 = 3;
List list49 = new List(num3);
CollectionsMarshal.SetCount(list49, num3);
- span5 = CollectionsMarshal.AsSpan(list49);
- num4 = 0;
- span5[num4] = new GatheringLocation
+ Span span22 = CollectionsMarshal.AsSpan(list49);
+ span22[0] = new GatheringLocation
{
Position = new Vector3(300.7484f, -15.4861f, 153.9048f),
MinimumAngle = 175,
MaximumAngle = 360
};
- num4++;
- span5[num4] = new GatheringLocation
+ span22[1] = new GatheringLocation
{
Position = new Vector3(297.8418f, -20.09089f, 166.8599f),
MinimumAngle = 95,
MaximumAngle = 265
};
- num4++;
- span5[num4] = new GatheringLocation
+ span22[2] = new GatheringLocation
{
Position = new Vector3(312.9494f, -14.81517f, 145.3793f),
MinimumAngle = 110,
@@ -918,39 +796,33 @@ public static class AssemblyGatheringLocationLoader
reference34 = obj17;
gatheringNodeGroup17.Nodes = list48;
reference33 = gatheringNodeGroup17;
- index++;
- ref GatheringNodeGroup reference35 = ref span3[index];
+ ref GatheringNodeGroup reference35 = ref span21[1];
GatheringNodeGroup gatheringNodeGroup18 = new GatheringNodeGroup();
- index2 = 1;
- List list50 = new List(index2);
- CollectionsMarshal.SetCount(list50, index2);
- span4 = CollectionsMarshal.AsSpan(list50);
- num2 = 0;
- ref GatheringNode reference36 = ref span4[num2];
+ num2 = 1;
+ List list50 = new List(num2);
+ CollectionsMarshal.SetCount(list50, num2);
+ ref GatheringNode reference36 = ref CollectionsMarshal.AsSpan(list50)[0];
GatheringNode obj18 = new GatheringNode
{
DataId = 30099u
};
- num4 = 3;
- List list51 = new List(num4);
- CollectionsMarshal.SetCount(list51, num4);
- span5 = CollectionsMarshal.AsSpan(list51);
- num3 = 0;
- span5[num3] = new GatheringLocation
+ num3 = 3;
+ List list51 = new List(num3);
+ CollectionsMarshal.SetCount(list51, num3);
+ Span span23 = CollectionsMarshal.AsSpan(list51);
+ span23[0] = new GatheringLocation
{
Position = new Vector3(317.6309f, 0.3300658f, 98.40825f),
MinimumAngle = 15,
MaximumAngle = 190
};
- num3++;
- span5[num3] = new GatheringLocation
+ span23[1] = new GatheringLocation
{
Position = new Vector3(300.7116f, -9.200176f, 128.1148f),
MinimumAngle = 20,
MaximumAngle = 205
};
- num3++;
- span5[num3] = new GatheringLocation
+ span23[2] = new GatheringLocation
{
Position = new Vector3(313.6669f, -5.031699f, 119.2471f),
MinimumAngle = 0,
@@ -960,15 +832,12 @@ public static class AssemblyGatheringLocationLoader
reference36 = obj18;
gatheringNodeGroup18.Nodes = list50;
reference35 = gatheringNodeGroup18;
- index++;
- ref GatheringNodeGroup reference37 = ref span3[index];
+ ref GatheringNodeGroup reference37 = ref span21[2];
GatheringNodeGroup gatheringNodeGroup19 = new GatheringNodeGroup();
num2 = 1;
List list52 = new List(num2);
CollectionsMarshal.SetCount(list52, num2);
- span4 = CollectionsMarshal.AsSpan(list52);
- index2 = 0;
- ref GatheringNode reference38 = ref span4[index2];
+ ref GatheringNode reference38 = ref CollectionsMarshal.AsSpan(list52)[0];
GatheringNode obj19 = new GatheringNode
{
DataId = 30100u
@@ -976,23 +845,20 @@ public static class AssemblyGatheringLocationLoader
num3 = 3;
List list53 = new List(num3);
CollectionsMarshal.SetCount(list53, num3);
- span5 = CollectionsMarshal.AsSpan(list53);
- num4 = 0;
- span5[num4] = new GatheringLocation
+ Span span24 = CollectionsMarshal.AsSpan(list53);
+ span24[0] = new GatheringLocation
{
Position = new Vector3(222.8638f, -1.971927f, 82.03091f),
MinimumAngle = -115,
MaximumAngle = 25
};
- num4++;
- span5[num4] = new GatheringLocation
+ span24[1] = new GatheringLocation
{
Position = new Vector3(274.0746f, 6.008316f, 65.73824f),
MinimumAngle = -115,
MaximumAngle = 75
};
- num4++;
- span5[num4] = new GatheringLocation
+ span24[2] = new GatheringLocation
{
Position = new Vector3(252.9545f, 5.45654f, 50.69089f),
MinimumAngle = 225,
@@ -1002,39 +868,33 @@ public static class AssemblyGatheringLocationLoader
reference38 = obj19;
gatheringNodeGroup19.Nodes = list52;
reference37 = gatheringNodeGroup19;
- index++;
- ref GatheringNodeGroup reference39 = ref span3[index];
+ ref GatheringNodeGroup reference39 = ref span21[3];
GatheringNodeGroup gatheringNodeGroup20 = new GatheringNodeGroup();
- index2 = 1;
- List list54 = new List(index2);
- CollectionsMarshal.SetCount(list54, index2);
- span4 = CollectionsMarshal.AsSpan(list54);
- num2 = 0;
- ref GatheringNode reference40 = ref span4[num2];
+ num2 = 1;
+ List list54 = new List(num2);
+ CollectionsMarshal.SetCount(list54, num2);
+ ref GatheringNode reference40 = ref CollectionsMarshal.AsSpan(list54)[0];
GatheringNode obj20 = new GatheringNode
{
DataId = 30101u
};
- num4 = 3;
- List list55 = new List(num4);
- CollectionsMarshal.SetCount(list55, num4);
- span5 = CollectionsMarshal.AsSpan(list55);
- num3 = 0;
- span5[num3] = new GatheringLocation
+ num3 = 3;
+ List list55 = new List(num3);
+ CollectionsMarshal.SetCount(list55, num3);
+ Span span25 = CollectionsMarshal.AsSpan(list55);
+ span25[0] = new GatheringLocation
{
Position = new Vector3(254.374f, -17.77545f, 174.2901f),
MinimumAngle = 115,
MaximumAngle = 265
};
- num3++;
- span5[num3] = new GatheringLocation
+ span25[1] = new GatheringLocation
{
Position = new Vector3(240.5732f, -17.28173f, 176.6604f),
MinimumAngle = 80,
MaximumAngle = 255
};
- num3++;
- span5[num3] = new GatheringLocation
+ span25[2] = new GatheringLocation
{
Position = new Vector3(256.3937f, -16.40165f, 164.8165f),
MinimumAngle = 90,
@@ -1054,16 +914,12 @@ public static class AssemblyGatheringLocationLoader
int num = 1;
List list = new List(num);
CollectionsMarshal.SetCount(list, num);
- Span span = CollectionsMarshal.AsSpan(list);
- int index = 0;
- span[index] = "liza";
+ CollectionsMarshal.AsSpan(list)[0] = "liza";
gatheringRoot.Author = list;
- index = 1;
- List list2 = new List(index);
- CollectionsMarshal.SetCount(list2, index);
- Span span2 = CollectionsMarshal.AsSpan(list2);
- num = 0;
- span2[num] = new QuestStep(EInteractionType.None, null, null, 140)
+ num = 1;
+ List list2 = new List(num);
+ CollectionsMarshal.SetCount(list2, num);
+ CollectionsMarshal.AsSpan(list2)[0] = new QuestStep(EInteractionType.None, null, null, 140)
{
AetheryteShortcut = EAetheryteLocation.WesternThanalanHorizon
};
@@ -1071,16 +927,13 @@ public static class AssemblyGatheringLocationLoader
num = 4;
List list3 = new List(num);
CollectionsMarshal.SetCount(list3, num);
- Span span3 = CollectionsMarshal.AsSpan(list3);
- index = 0;
- ref GatheringNodeGroup reference = ref span3[index];
+ Span span = CollectionsMarshal.AsSpan(list3);
+ ref GatheringNodeGroup reference = ref span[0];
GatheringNodeGroup gatheringNodeGroup = new GatheringNodeGroup();
int num2 = 1;
List list4 = new List(num2);
CollectionsMarshal.SetCount(list4, num2);
- Span span4 = CollectionsMarshal.AsSpan(list4);
- int index2 = 0;
- ref GatheringNode reference2 = ref span4[index2];
+ ref GatheringNode reference2 = ref CollectionsMarshal.AsSpan(list4)[0];
GatheringNode obj = new GatheringNode
{
DataId = 30414u
@@ -1088,23 +941,20 @@ public static class AssemblyGatheringLocationLoader
int num3 = 3;
List list5 = new List(num3);
CollectionsMarshal.SetCount(list5, num3);
- Span span5 = CollectionsMarshal.AsSpan(list5);
- int num4 = 0;
- span5[num4] = new GatheringLocation
+ Span span2 = CollectionsMarshal.AsSpan(list5);
+ span2[0] = new GatheringLocation
{
Position = new Vector3(249.8601f, 55.12077f, 178.5377f),
MinimumAngle = 125,
MaximumAngle = 270
};
- num4++;
- span5[num4] = new GatheringLocation
+ span2[1] = new GatheringLocation
{
Position = new Vector3(253.9519f, 55.95691f, 181.4238f),
MinimumAngle = 180,
MaximumAngle = 285
};
- num4++;
- span5[num4] = new GatheringLocation
+ span2[2] = new GatheringLocation
{
Position = new Vector3(244.4912f, 53.49751f, 169.9265f),
MinimumAngle = 150,
@@ -1114,39 +964,33 @@ public static class AssemblyGatheringLocationLoader
reference2 = obj;
gatheringNodeGroup.Nodes = list4;
reference = gatheringNodeGroup;
- index++;
- ref GatheringNodeGroup reference3 = ref span3[index];
+ ref GatheringNodeGroup reference3 = ref span[1];
GatheringNodeGroup gatheringNodeGroup2 = new GatheringNodeGroup();
- index2 = 1;
- List list6 = new List(index2);
- CollectionsMarshal.SetCount(list6, index2);
- span4 = CollectionsMarshal.AsSpan(list6);
- num2 = 0;
- ref GatheringNode reference4 = ref span4[num2];
+ num2 = 1;
+ List list6 = new List(num2);
+ CollectionsMarshal.SetCount(list6, num2);
+ ref GatheringNode reference4 = ref CollectionsMarshal.AsSpan(list6)[0];
GatheringNode obj2 = new GatheringNode
{
DataId = 30413u
};
- num4 = 3;
- List list7 = new List(num4);
- CollectionsMarshal.SetCount(list7, num4);
- span5 = CollectionsMarshal.AsSpan(list7);
- num3 = 0;
- span5[num3] = new GatheringLocation
+ num3 = 3;
+ List list7 = new List(num3);
+ CollectionsMarshal.SetCount(list7, num3);
+ Span span3 = CollectionsMarshal.AsSpan(list7);
+ span3[0] = new GatheringLocation
{
Position = new Vector3(292.9385f, 59.79165f, 187.855f),
MinimumAngle = 45,
MaximumAngle = 165
};
- num3++;
- span5[num3] = new GatheringLocation
+ span3[1] = new GatheringLocation
{
Position = new Vector3(300.3293f, 63.1124f, 175.0616f),
MinimumAngle = 65,
MaximumAngle = 155
};
- num3++;
- span5[num3] = new GatheringLocation
+ span3[2] = new GatheringLocation
{
Position = new Vector3(296.3942f, 61.46834f, 182.3181f),
MinimumAngle = 70,
@@ -1156,15 +1000,12 @@ public static class AssemblyGatheringLocationLoader
reference4 = obj2;
gatheringNodeGroup2.Nodes = list6;
reference3 = gatheringNodeGroup2;
- index++;
- ref GatheringNodeGroup reference5 = ref span3[index];
+ ref GatheringNodeGroup reference5 = ref span[2];
GatheringNodeGroup gatheringNodeGroup3 = new GatheringNodeGroup();
num2 = 1;
List list8 = new List(num2);
CollectionsMarshal.SetCount(list8, num2);
- span4 = CollectionsMarshal.AsSpan(list8);
- index2 = 0;
- ref GatheringNode reference6 = ref span4[index2];
+ ref GatheringNode reference6 = ref CollectionsMarshal.AsSpan(list8)[0];
GatheringNode obj3 = new GatheringNode
{
DataId = 30415u
@@ -1172,23 +1013,20 @@ public static class AssemblyGatheringLocationLoader
num3 = 3;
List list9 = new List(num3);
CollectionsMarshal.SetCount(list9, num3);
- span5 = CollectionsMarshal.AsSpan(list9);
- num4 = 0;
- span5[num4] = new GatheringLocation
+ Span span4 = CollectionsMarshal.AsSpan(list9);
+ span4[0] = new GatheringLocation
{
Position = new Vector3(262.1395f, 58.70948f, 239.3097f),
MinimumAngle = 105,
MaximumAngle = 210
};
- num4++;
- span5[num4] = new GatheringLocation
+ span4[1] = new GatheringLocation
{
Position = new Vector3(284.4424f, 59.78878f, 222.5899f),
MinimumAngle = 65,
MaximumAngle = 240
};
- num4++;
- span5[num4] = new GatheringLocation
+ span4[2] = new GatheringLocation
{
Position = new Vector3(278.6144f, 59.63044f, 231.8303f),
MinimumAngle = 95,
@@ -1198,39 +1036,33 @@ public static class AssemblyGatheringLocationLoader
reference6 = obj3;
gatheringNodeGroup3.Nodes = list8;
reference5 = gatheringNodeGroup3;
- index++;
- ref GatheringNodeGroup reference7 = ref span3[index];
+ ref GatheringNodeGroup reference7 = ref span[3];
GatheringNodeGroup gatheringNodeGroup4 = new GatheringNodeGroup();
- index2 = 1;
- List list10 = new List(index2);
- CollectionsMarshal.SetCount(list10, index2);
- span4 = CollectionsMarshal.AsSpan(list10);
- num2 = 0;
- ref GatheringNode reference8 = ref span4[num2];
+ num2 = 1;
+ List list10 = new List(num2);
+ CollectionsMarshal.SetCount(list10, num2);
+ ref GatheringNode reference8 = ref CollectionsMarshal.AsSpan(list10)[0];
GatheringNode obj4 = new GatheringNode
{
DataId = 30416u
};
- num4 = 3;
- List list11 = new List(num4);
- CollectionsMarshal.SetCount(list11, num4);
- span5 = CollectionsMarshal.AsSpan(list11);
- num3 = 0;
- span5[num3] = new GatheringLocation
+ num3 = 3;
+ List list11 = new List(num3);
+ CollectionsMarshal.SetCount(list11, num3);
+ Span span5 = CollectionsMarshal.AsSpan(list11);
+ span5[0] = new GatheringLocation
{
Position = new Vector3(222.244f, 58.86799f, 244.9212f),
MinimumAngle = 135,
MaximumAngle = 275
};
- num3++;
- span5[num3] = new GatheringLocation
+ span5[1] = new GatheringLocation
{
Position = new Vector3(212.3073f, 58.06055f, 245.9091f),
MinimumAngle = 80,
MaximumAngle = 220
};
- num3++;
- span5[num3] = new GatheringLocation
+ span5[2] = new GatheringLocation
{
Position = new Vector3(235.9484f, 58.30469f, 249.0489f),
MinimumAngle = 80,
@@ -1243,36 +1075,29 @@ public static class AssemblyGatheringLocationLoader
gatheringRoot.Groups = list3;
AddLocation(154, gatheringRoot);
GatheringRoot gatheringRoot2 = new GatheringRoot();
- index = 1;
- List list12 = new List(index);
- CollectionsMarshal.SetCount(list12, index);
- span = CollectionsMarshal.AsSpan(list12);
- num = 0;
- span[num] = "liza";
+ num = 1;
+ List list12 = new List(num);
+ CollectionsMarshal.SetCount(list12, num);
+ CollectionsMarshal.AsSpan(list12)[0] = "liza";
gatheringRoot2.Author = list12;
num = 1;
List list13 = new List(num);
CollectionsMarshal.SetCount(list13, num);
- span2 = CollectionsMarshal.AsSpan(list13);
- index = 0;
- span2[index] = new QuestStep(EInteractionType.None, null, null, 141)
+ CollectionsMarshal.AsSpan(list13)[0] = new QuestStep(EInteractionType.None, null, null, 141)
{
AetheryteShortcut = EAetheryteLocation.CentralThanalanBlackBrushStation
};
gatheringRoot2.Steps = list13;
- index = 4;
- List list14 = new List(index);
- CollectionsMarshal.SetCount(list14, index);
- span3 = CollectionsMarshal.AsSpan(list14);
- num = 0;
- ref GatheringNodeGroup reference9 = ref span3[num];
+ num = 4;
+ List